Click or drag to resize

CHtmlOptions Properties

The PdfFocusCHtmlOptions type exposes the following members.

Properties
 NameDescription
Public propertyDetectTables Gets or sets a value to parse and recreate tables. Default value: false.
Public propertyCode exampleImageFileName Gets or sets a template name for images. Default value: "image".
Public propertyCode exampleImageFolder Gets or sets a path to a directory to store images after converting. Notice also to the property "ImageSubFolder". Default value: "".
Public propertyCode exampleImageNumStart The starting number for naming images in the HTML document. Default value: 1.
Public propertyCode exampleImageSubFolder Gets or sets a folder name which will be created by the component to store images. Default value: "images".
Public propertyCode exampleIncludeImageInHtml Allows to specify how to store images: Inside HTML document as base64 images or as linked separate image files. Default value: false.
Public propertyCode exampleInlineCSS Gets or sets a value whether to store CSS as inline for the each element using the "style" attribute or embed the whole style sheet inside HTML. Default value: true.
Public propertyKeepCharScaleAndSpacing Gets or sets a value to preserve the original char scaling and spacing or reset it to all symbols to 100%. Default value: true.
Public propertyMeasurementUnits Gets and sets the measurement units which will be used in the whole HTML document. Supported values: pt, px, pc, mm and cm. Default: pt.
Public propertyCode exampleProduceOnlyHtmlBody Gets or sets a value to produce a complete HTML document or only between between <body>...</body> tags. Default value: false.
Public propertyCode exampleRenderMode Gets or sets the rendering mode for the output HTML: Fixed or Flowing. Default value: Fixed.
Public propertyShowInvisibleText Gets or sets a value to show invisible text or not. Default value: false.
Public propertySingleFontColor Sets or gets a single font color in hex format '#XXXXXX' for a whole text in the produced HTML document. Default value: Empty.
Public propertySingleFontFamily Set a single font family for a whole text in the HTML document. Default value: Empty. We recommend use it only in the Flowing mode, in the Fixed mode it may shift/spoil to the document layout.
Public propertySingleFontSize Set a single font size in points (pt) for a whole text in the produced HTML document. Default value: null. We recommend use it only in the Flowing mode, in the Fixed mode it may shift/spoil to the document layout.
Public propertyCode exampleTitle Sets the title for the HTML document. Default value: "Untitled document".
Public propertyUseNumericCharacterReference In case of 'true': Write the all characters in "NCR" notation: &#xxx;. In case of 'false': Write the all characters as Unicode (recommended). Default value: false.
Top
See Also