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 LongParameters
| PipelineID | Live handle returned by BeginValidationPipeline |
|---|
Return values
| 0 | The identifier is invalid or was already released |
|---|---|
| 1 | The pipeline resources were released |
Remarks
Any issue-list identifiers returned by RunValidationPipelineTask remain independently owned and must be released with ReleaseStringList