Winnovative Logo

WordToPdfDocumentOptions Class

Winnovative Client for .NET Core
This class encapsulates the options to control the PDF document redering process. The WordToPdfConverter class define a reference to an object of this type.
Inheritance Hierarchy

SystemObject
  WinnovativeClientWordToPdfDocumentOptions

Namespace:  WinnovativeClient
Assembly:  WinnovativeClient_NetCore (in WinnovativeClient_NetCore.dll) Version: 17.0.0
Syntax

public class WordToPdfDocumentOptions

The WordToPdfDocumentOptions type exposes the following members.

Constructors

  NameDescription
Public methodWordToPdfDocumentOptions
Initializes a new instance of the WordToPdfDocumentOptions class
Top
Properties

  NameDescription
Public propertyAvoidTextBreak
When true this property instructs the converter to try to avoid cutting off the text between PDF pages. By default this property is true.
Public propertyBackColor
The PDF pages background color
Public propertyBottomMargin
The rendered PDF document bottom margin in points. 1 point is 1/72 inch. By default the left margin is 0.
Public propertyBottomSpacing
A space in points to introduce at the bottom of PDF pages where the content is rendered. 1 point is 1/72 inch. By default the bottom spacing is 0.
Public propertyColorProfile
Gets or sets the color profile of the PDF document generated by the converter.
Public propertyColorSpace
Gets or sets the color space of the PDF document generated by the converter. The possible values are RGB, CMYK or Gray Scale. The default color space is RGB.
Public propertyCompressCrossReference
Set this property on true to store the cross-reference table and the trailer of the PDF document generated by the converter in compressed cross-reference streams and to reduce the PDF file size. The default value is false
Public propertyEmbedFonts
When true this options instructs the converter to embed all the true type fonts in the PDF document generated by the converter. The default value of this property is true
Public propertyHeight
The height in points of the destination rectangle in PDF page where the content is rendered. By default the destination height is automatically calculated to render the whole content
Public propertyJpegCompressionEnabled
Gets or sets a flag indicating if the JPEG compression is enabled or not for the images in the PDF document created by the converter. 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 document, function of the JpegCompressionLevel parameter. When the JpegCompressionLevel is increased, the quality of the images in PDF decreases.
Public propertyJpegCompressionLevel
Gets or sets the compression level of images in the PDF document generated by the converter 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.
Public propertyLeftMargin
The rendered PDF document left margin in points. 1 point is 1/72 inch. By default the left margin is 0.
Public propertyPdfCompressionLevel
This property controls the compression level of the PDF document created by the converter.
Public propertyPdfStandardSubset
Defines the PDF subset used by the PDF document generated by the converter. The default value is Full. This property can be used to instruct the converter to generate PDF/A or PDF/X compliant documents.
Public propertyRightMargin
The rendered PDF document right margin in points. 1 point is 1/72 inch. By default the right margin is 0.
Public propertyShowFooter
This property controls the whether the footer appears or not in the PDF document generated by the converter. The footer properties can be further customized by setting the properties of object exposed by the PdfFooterOptions property of the WordToPdfConverter class. The default value of this property is false.
Public propertyShowHeader
This property controls the whether the header appears or not in the PDF document generated by the converter. The header properties can be further customized by setting the properties of object exposed by the PdfHeaderOptions property of the WordToPdfConverter class. The default value of this property is false.
Public propertyTopMargin
The rendered PDF document top margin in points. 1 point is 1/72 inch. By default the top margin is 0.
Public propertyTopSpacing
A space in points to introduce at the top of PDF pages where the content is rendered. 1 point is 1/72 inch. By default the top spacing is 0.
Public propertyTransparencyEnabled
Gets or sets a flag indicating if the transparency is enabled in the PDF document generated by the converter. 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.
Public propertyTransparentImagesEnabled
A flag indicating if the converter uses transparency information of the images in the PDF document generated by the converter. The default property value is true
Public propertyWidth
The width in points of the destination rectangle in PDF page where the content is rendered. By default the destination width is the available width in PDF page
Public propertyX
The X coordinate in points where to start rendering in first page. By default the left location is 0
Public propertyY
The Y coordinate in points where to start rendering in first page. By default the top location is 0
Top
Methods

  NameDescription
Public methodAddEndDocument(Byte)
Adds a PDF document from the given data after the result of Word to PDF conversion. The header and footer are not applied to the PDF documents added by this method. If you want to enable the header and footer in the added PDF document use the AddEndDocument(Byte, Boolean, Boolean, Boolean)
Public methodAddEndDocument(String)
Adds a PDF document from the given file after the result of Word to PDF conversion. The header and footer are not applied to the PDF documents added by this method. If you want to enable the header and footer in the added PDF document use the AddEndDocument(String, Boolean, Boolean, Boolean)
Public methodAddEndDocument(Byte, Boolean, Boolean, Boolean)
Adds a PDF document from the given data after the result of Word to PDF conversion
Public methodAddEndDocument(String, Boolean, Boolean, Boolean)
Adds a PDF document from the given file after the result of Word to PDF conversion
Public methodAddStartDocument(Byte)
Adds a PDF document from the given data before the result of Word to PDF conversion. The header and footer are not applied to the PDF documents added by this method. If you want to enable the header and footer in the added PDF document use the AddStartDocument(Byte, Boolean, Boolean, Boolean)
Public methodAddStartDocument(String)
Adds a PDF document from the given file before the result of Word to PDF conversion. The header and footer are not applied to the PDF documents added by this method. If you want to enable the header and footer in the added PDF document use the AddStartDocument(String, Boolean, Boolean, Boolean)
Public methodAddStartDocument(Byte, Boolean, Boolean, Boolean)
Adds a PDF document from the given data before the result of Word to PDF conversion
Public methodAddStartDocument(String, Boolean, Boolean, Boolean)
Adds a PDF document from the given file before the result of Word to PDF conversion
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
See Also

Reference