CHtml |
The PdfFocusCHtmlOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | DetectTables | Gets or sets a value to parse and recreate tables. Default value: false. |
![]() ![]() | ImageFileName | Gets or sets a template name for images. Default value: "image". |
![]() ![]() | ImageFolder | Gets or sets a path to a directory to store images after converting. Notice also to the property "ImageSubFolder". Default value: "". |
![]() ![]() | ImageNumStart | The starting number for naming images in the HTML document. Default value: 1. |
![]() ![]() | ImageSubFolder | Gets or sets a folder name which will be created by the component to store images. Default value: "images". |
![]() ![]() | IncludeImageInHtml | Allows to specify how to store images: Inside HTML document as base64 images or as linked separate image files. Default value: false. |
![]() ![]() | InlineCSS | 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. |
![]() | KeepCharScaleAndSpacing | Gets or sets a value to preserve the original char scaling and spacing or reset it to all symbols to 100%. Default value: true. |
![]() | MeasurementUnits | 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. |
![]() ![]() | ProduceOnlyHtmlBody | Gets or sets a value to produce a complete HTML document or only between between <body>...</body> tags. Default value: false. |
![]() ![]() | RenderMode | Gets or sets the rendering mode for the output HTML: Fixed or Flowing. Default value: Fixed. |
![]() | ShowInvisibleText | Gets or sets a value to show invisible text or not. Default value: false. |
![]() | SingleFontColor | Sets or gets a single font color in hex format '#XXXXXX' for a whole text in the produced HTML document. Default value: Empty. |
![]() | SingleFontFamily | 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. |
![]() | SingleFontSize | 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. |
![]() ![]() | Title | Sets the title for the HTML document. Default value: "Untitled document". |
![]() | UseNumericCharacterReference | 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. |