|
RecAPI
|
A PDF document. More...
Public Member Functions |
|
| bool | HasPageText (uint position) |
| Does the page have text? |
|
| void | Dispose () |
| Close the PDF document. |
|
Properties |
|
| string | Path [get]
|
| Path of the PDF document. |
|
| bool | HasText [get]
|
| PDF file has a text. |
|
| uint | PageCount [get]
|
| Page count |
|
| Operation | Operation [get]
|
| Assigned operation if there is any. |
|
| DocumentHandle | SafeHandle [get]
|
| RPDF_DOC C handle. |
|
A PDF document.
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::Document::Dispose | ( | ) |
Close the PDF document.
It doesn't throw exceptions.
| bool Kofax::OmniPageCSDK::RecPDF::Document::HasPageText | ( | uint | position | ) |
Does the page have text?
| position | Page index |
| ObjectDisposedException | Thrown when the Document object is already disposed. |
| RecAPIError | Thrown when it failed to check if the given page of the document has text on it. |
bool Kofax::OmniPageCSDK::RecPDF::Document::HasText [get] |
PDF file has a text.
| ObjectDisposedException | Thrown when the Document object is already disposed. |
| RecAPIError | Thrown when it failed to get if there is text in the document. |
Operation Kofax::OmniPageCSDK::RecPDF::Document::Operation [get] |
Assigned operation if there is any.
| ObjectDisposedException | Thrown when the Document object or the Operation object is already disposed. |
| RecAPIError | Thrown when it failed to get the operation the document attached to. |
uint Kofax::OmniPageCSDK::RecPDF::Document::PageCount [get] |
Page count
| ObjectDisposedException | Thrown when the Document object is already disposed. |
| RecAPIError | Thrown when it failed to get the count of pages. |
string Kofax::OmniPageCSDK::RecPDF::Document::Path [get] |
Path of the PDF document.
| ObjectDisposedException | Thrown when the Document object is already disposed. |
| RecAPIError | Thrown when it failed to get the path of the PDF file. |
DocumentHandle Kofax::OmniPageCSDK::RecPDF::Document::SafeHandle [get] |
RPDF_DOC C handle.
| ObjectDisposedException | Thrown when the Document object is already disposed. |