RecAPI
|
A PDF document. More...
Inherits IDisposable.
Public Member Functions | |
bool | HasPageText (int 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 OmniPageCSDK.RecPDF.Document.Dispose | ( | ) |
Close the PDF document.
It doesn't throw exceptions.
bool OmniPageCSDK.RecPDF.Document.HasPageText | ( | int | 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. |
|
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. |
|
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. |
|
get |
Page count
ObjectDisposedException | Thrown when the Document object is already disposed. |
RecAPIError | Thrown when it failed to get the count of pages. |
|
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. |
|
get |
RPDF_DOC C handle.
ObjectDisposedException | Thrown when the Document object is already disposed. |
Referenced by OmniPageCSDK.RecPDF.Operation.AddDocument(), and OmniPageCSDK.RecPDF.Operation.RotatePage().