Document Properties |
The Document type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | Actions |
Gets document actions. This property is instance of DocumentActions class which allows to get/set BeforClosing, BeforSaving, etc. actions.
|
![]() | AllowReusePageContent |
Allows to merge page contents to optimize docuement size. If used then differnet but duplicated pages may reference to the
same content object. Please note that this mode may cause side effects like changing page content when other page is changed.
|
![]() | Background |
Gets or sets the background color of the document.
|
![]() ![]() | CenterWindow |
Gets or sets flag specifying whether position of the document's window will be centerd on the screen.
|
![]() | Collection |
Gets collection of document.
|
![]() | CryptoAlgorithm |
Gets security settings if document is encrypted.
If document is not encrypted then corresponding exception will be raised in .net 1.1
or CryptoAlgorithm will be null for other .net versions.
|
![]() | Destinations |
Gets the collection of destinations.
Obsolete. Please use NamedDestinations.
|
![]() | Direction |
Gets or sets reading order of text: L2R (left to right) or R2L (right to left).
|
![]() ![]() | DisplayDocTitle |
Gets or sets flag specifying whether document's window title bar should display document title.
|
![]() | Duplex |
Gets or sets print duplex mode handling option to use when printing the file from the print dialog.
|
![]() | EmbeddedFiles |
Gets collection of files embedded to document.
|
![]() | EmbedStandardFonts |
Property which declares that document must embed all standard Type1 fonts
which has flag IsEmbedded set into true. All PDF fonts can be embedded
into document simply via setting of flag IsEmbedded into true, but PDF standard Type1 fonts is an exception from this rule.
Standard Type1 font embedding requires much time, so to embed these fonts it's necessary
not only set flag IsEmbedded into true for specified font but also set
an additiona flag on document's level - EmbedStandardFonts = true;
This property can be set only one time for all fonts.
By default false.
|
![]() | EnableObjectUnload |
Get or sets flag which enables document partially be unloaded from memory.
This allow to decrease memory usage but may have negative effect on perofmance.
|
![]() | FileName |
Name of the PDF file that caused this document
|
![]() ![]() | FitWindow |
Gets or sets flag specifying whether document window must be resized to fit the first displayed page.
|
![]() | FontUtilities |
IDocumentFontUtilities instance
|
![]() | Form |
Gets Acro Form of the document.
|
![]() ![]() | HideMenubar |
Gets or sets flag specifying whether menu bar should be hidden when document is active.
|
![]() ![]() | HideToolBar |
Gets or sets flag specifying whether toolbar should be hidden when document is active.
|
![]() ![]() | HideWindowUI |
Gets or sets flag specifying whether user interface elements should be hidden when document is active.
|
![]() | Id |
Gets the ID.
|
![]() | IgnoreCorruptedObjects |
Gets or sets flag of ignoring errors in source files.
When pages from source document copied into destination document, copying process is stopped with exception
if some objects in source files are corrupted when this flag is false.
example: dest.Pages.Add(src.Pages);
If this flag is set to true then corrupted objects will be replaced with empty values.
By default: true.
|
![]() | Info |
Gets document info.
|
![]() | IsEncrypted |
Gets encrypted status of the document. True if document is encrypted.
|
![]() ![]() | IsLicensed |
Gets licensed state of the system. Returns true is system works in licensed mode and false otherwise.
|
![]() | IsLinearized |
Gets or sets a value indicating whether document is linearized.
|
![]() | IsPdfaCompliant |
Gets the is document pdfa compliant.
|
![]() | IsPdfUaCompliant |
Gets the is document pdfua compliant.
|
![]() | IsXrefGapsAllowed |
Gets or sets the is document pdfa compliant.
|
![]() | JavaScript |
Collection of JavaScript of document level.
|
![]() | LogicalStructure |
Gets logical structure of the document.
|
![]() | Metadata |
Document metadata.
(A PDF document may include general information,
such as the document's title, author, and creation and modification dates.
Such global information about the document (as opposed to its content or structure) is called metadata
and is intended to assist in cataloguing and searching for documents in external databases.)
|
![]() | NamedDestinations |
Collection of Named Destination in the document.
|
![]() | NonFullScreenPageMode |
Gets or sets page mode, specifying how to display the document on exiting full-screen mode.
|
![]() ![]() | OpenAction |
Gets or sets action performed at document opening.
|
![]() | OptimizeSize |
Gets or sets optimization flag. When pages are added to document, equal resource streams in resultant file are
merged into one PDF object if this flag set.
This allows to decrease resultant file size but may cause slower execution and larger memory requirements.
Default value: false.
|
![]() | Outlines |
Gets document outlines.
|
![]() | PageInfo |
Gets or sets the page info.(for generator only)
|
![]() | PageLabels |
Gets page labels in the document.
|
![]() | PageLayout |
Gets or sets page layout which shall be used when the document is opened.
|
![]() | PageMode |
Gets or sets page mode, specifying how document should be displayed when opened.
|
![]() ![]() | Pages |
Gets or sets collection of document pages.
Note that pages are numbered from 1 in collection.
|
![]() | PdfFormat |
Gets PDF format
|
![]() | Permissions |
Gets permissions of the document.
|
![]() ![]() | TaggedContent | Gets access to TaggedPdf content. |
![]() | Version |
Gets a version of Pdf from Pdf file header.
|