Skip to main content

TdxPDFDocument Members

A PDF document container.

Properties

Name Description
AllowContentExtraction Identifies if users can select and copy the loaded PDF document’s content.
AllowPrinting Identifies if it is possible to print the loaded PDF document.
FileAttachments Provides access to the collection of files attached to the document.
Form Provides access to the document’s form with interactive fields.
Information Provides access to PDF document metadata.
Modified Identifies if the document has unsaved changes.
PageCount Returns the number of pages in the PDF document.
PageInfo Provides indexed access to document pages.
Pages Provides access to the document structure.
PasswordAttemptsLimit Specifies the number of allowed attempts to enter the document’s protection password.
SecurityOptions Provides access to the document’s security settings.
SignatureOptions Provides access to the document’s digital signature settings.

Methods

Name Description
Append(TdxPDFDocument) Appends a specified PDF document’s content to the current document.
Append(TStream) Appends a specified PDF document’s content to the current document.
Append(string) Appends a specified PDF document’s content to the current document.
BeginUpdate Disables all document change notifications until the application calls an EndUpdate procedure.
Clear Clears the PDF document container.
EndUpdate Re-enables notifications and applies all changes made to the PDF document container and the stored document’s structure after a BeginUpdate call.
Equals(TObject) Inherited from TObject.
FindText(string,TdxPDFDocumentTextSearchOptions,TdxPDFPageTextRanges) Searches all occurrences of the specified text string in the document.
FindText(string,TdxPDFDocumentTextSearchOptions,Integer) Searches for a text string on the specified page of the document.
FindText(string,TdxPDFDocumentTextSearchOptions) Searches for a text string with the specified search settings.
FindText(string) Searches the specified text string in the document with the default search settings.
GetHashCode Inherited from TObject.
LoadFromFile(string) Loads a PDF document from the specified file.
LoadFromStream(TStream) Loads a PDF document from the specified stream.
SaveToFile(string,Boolean,Boolean) Saves the document to a file.
SaveToStream(TStream,Boolean,Boolean) Saves the document to a stream.
ToString Inherited from TObject.

Events

Name Description
OnChanged Occurs every time the document changes.
OnGetPassword Enables you to respond to the password request when the PDF document container loads an encrypted document.
OnLoaded Enables you to respond to a successful document load operation.
OnSaveProgress Enables you to track the document save progress.
OnSearchProgress Enables you to track the progress of a time-consuming text search operation in the PDF document.
OnUnloaded Enables you to respond to closing the PDF document.
See Also