The Document type exposes the following members.
Properties
Name | Description | |
---|---|---|
AutoCloseAppendedDocs |
Gets or sets a value indicating if the PDF documents appended to this document using the
AppendDocument(Document) method are automatically closed when the current document is closed using the
Close method. The default value is false.
The appended documents must remain open until the current document is saved.
| |
Bookmarks |
Gets the bookmarks collection of the document.
| |
CompressCrossReference |
Set this property on true to store the PDF cross-reference table and PDF trailer in compressed cross-reference streams
and to reduce the PDF file size. The default value is false for the new documents
| |
CompressionLevel |
Gets or sets the PDF document compression level. By default the compression level is Normal | |
DocumentInformation |
Offers access to the document information object where the document's
title, subject, keywords, etc can be set.
| |
Fonts |
Gets the collection of fonts of this PDF document.
| |
Footer |
Represents the default PDF document footer template. This footer is automatically considered
when calculating the available space for rendering in a PDF page. This template is automatically
docked to the bottom of the PDF page.
| |
Form |
Gets a reference to the PDF form of this PDF document
| |
Header |
Represents the default PDF document header template. This header is automatically considered
when calculating the available space for drawing in a PDF page. This template is automatically
docked to the top of the PDF page.
| |
JpegCompressionEnabled |
Gets or sets a flag indicating if the JPEG compression is enabled or not for the images in the generated PDF.
By default the JPEG compression is enabled to reduce the size of the generated PDF. When the JPEG compression is enabled
the quality of the images in the generated PDF is lower than the quality of the original images in the Word document,
function of the JpegCompressionLevel parameter. When the JpegCompressionLevel is increased, the quality of the images in PDF decreases.
| |
JpegCompressionLevel |
Gets or sets the compression level of images in the generated PDF as an integer value between 0 and 100.
This property has effect only when the JpegCompressionEnabled is true.
When the JpegCompressionLevel is 0, the compression rate is the lowest and the quality of the images is the best.
When the JpegCompressionLevel is 100, the compression rate is the highest and quality of the images in PDF is the worst.
The default JPEG compression level is 10, which should offer a good balance between the compression rate and
the quality of the images in PDF.
| |
LicenseKey |
Gets or sets the license key string received from the vendor.
If this property is null the library will automatically enter in evaluation mode
and a demo watermark will be displayed on the generated PDF document.
| |
Margins |
The default document margins. The new pages will use the default margins
if no margins are specified
| |
OpenAction |
The Go To, JavaScript, Submit Form or Reset Form action to be performed when the PDF document is opened.
| |
Pages |
Gets the collection of pages of this PDF document.
| |
Security |
Offers access to security features of the PDF document like encryption.
| |
Templates |
Gets the collection of templates of this PDF document.
| |
TransparencyEnabled |
Gets or sets a flag indicating if the transparency is enabled in the PDF document.
Default value is true. This property can be set to false to eliminate the additional flattening time
when the document is sent to the printer from Adobe Reader viewer.
| |
ViewerPreferences |
Offers access to the viewer preferences settings for the document.
|
See Also