ReleaseValidationPipeline

Compliance, Resource management

Requires the Enterprise edition — in Delphi, C++Builder and Lazarus code create the library as TPDFlibEnterprise (unit PDFlibEnterprise); the Enterprise DLL and ActiveX builds provide it unchanged; other editions keep the method, which returns 0, an empty string or False and sets LastErrorCode to 900 (PDFLIB_ERROR_ENTERPRISE_REQUIRED)

Description

Closes a validation pipeline and releases its input stream, parser, document object graph, and lazy object cache

Syntax

Delphi

Function TPDFlib.ReleaseValidationPipeline(PipelineID: Integer): Integer; Virtual;

DLL

int DLReleaseValidationPipeline(int InstanceID, int PipelineID);

ActiveX

Function PDFlib::ReleaseValidationPipeline(PipelineID As Long) As Long

Parameters

PipelineIDLive handle returned by BeginValidationPipeline

Return values

0The identifier is invalid or was already released
1The pipeline resources were released

Remarks

Any issue-list identifiers returned by RunValidationPipelineTask remain independently owned and must be released with ReleaseStringList

See also

BeginValidationPipeline, ReleaseStringList