ToPdfParameterList module

class ToPdfParameterList.ToPdfParameterList

Bases: SpireObject

Represents a list of parameters for converting to PDF.

property CreateWordBookmarks: bool

Gets or set the a value, Whether to use word bookmars when create the bookmarks.

property CreateWordBookmarksUsingHeadings: bool

Gets or set the a value that determines whether create the bookmarks using Headings.

Gets or sets whether to remove the link on the hyperlink and keep the character format during converting to pdf.

property EmbeddedFontNameList: List[str]
<summary>

Gets or sets Embedded into the PDF document font name.

</summary>

property IsAtLast: bool

Gets or sets To Pdf TextBox HeightType.The default is “Exactly”.

property IsEmbeddedAllFonts: bool

Gets or sets whether all fonts are embedded in the PDF document.

property IsHidden: bool

Gets or sets whether hidden text is converted.

property MimicWPSLayout: bool

Gets or sets a value indicating whether to mimic the layout of WPS Application. The default value is false.

property PdfConformanceLevel: PdfConformanceLevel

Gets or sets the Pdf document’s Conformance-level.

property PdfSecurity: PdfSecurity

Represents the security settings of the PDF document.

property PreserveFormFields: bool
property PrivateFontPaths: List[PrivateFontPath]

Gets or sets the private font paths.

property UpdateFields: bool

Gets or sets a value indicating whether to change the fields before saving the document when using the new engine. The default value is true.

property UsePSCoversion: bool

Gets or sets a value indicating whether to use the PS conversion.

property WordBookmarksColor: Color

Gets or sets the text color of the word bookmarks. the default value is the “SaddleBrown” color(#FF8B4513).

Returns:

The text color of the word boomarks.

Return type:

Color

property WordBookmarksTextStyle: BookmarkTextStyle

Gets or sets the text style of the word bookmarks. The default value is the Bold.

Returns:

The word bookmarks text style.

Return type:

BookmarkTextStyle

property WordBookmarksTitle: str

Gets or sets the word bookmarks title. The default value for this title is null.

Returns:

The word bookmarks title.

Return type:

str