RecAPI
|
A PDF document for PDF optimizing operations. More...
Public Member Functions |
|
void | OptAddCommand (string command) |
... |
|
void | Optimize (string fileName) |
... |
|
void | Dispose () |
Close the PDF document. |
|
Properties |
|
DocumentHandle | SafeHandle [get]
|
RPDF_DOC C handle. |
A PDF document for PDF optimizing operations.
Inherited from the System.IDisposable interface. The Dispose method closes the file. This object represents a PDF document. The represented PDF document can be changed by a PDF operation (Operation) if the Document is attached to the Operation object.
void Kofax::OmniPageCSDK::RecPDF::OptDocument::Dispose | ( | ) |
Close the PDF document.
It doesn't throw exceptions.
void Kofax::OmniPageCSDK::RecPDF::OptDocument::OptAddCommand | ( | string | command | ) |
...
command | command |
...
ObjectDisposedException | Thrown when the Manager object is already disposed. |
ParameterIsNullException | Thrown when the fileName parameter is null. |
RecAPIError | Thrown when it failed to get the security information. |
void Kofax::OmniPageCSDK::RecPDF::OptDocument::Optimize | ( | string | fileName | ) |
...
fileName | PDF file name |
...
ObjectDisposedException | Thrown when the Manager object is already disposed. |
ParameterIsNullException | Thrown when the fileName parameter is null. |
RecAPIError | Thrown when it failed to get the security information. |
DocumentHandle Kofax::OmniPageCSDK::RecPDF::OptDocument::SafeHandle [get] |
RPDF_DOC C handle.
ObjectDisposedException | Thrown when the Document object is already disposed. |