HtmlSaveOptions Properties |
The HtmlSaveOptions type exposes the following members.
Name | Description | |
---|---|---|
![]() | AdditionalMarginWidthInPoints | Obsolete.
If attribute 'SplitOnPages=false', than whole HTML representing all input PDF pages wont
be not split into different HTML pages, but will be put into one big result HTML file.
But each source PDF page will be represented with it's own
rectangle area in HTML (if necessary that areas can be bordered to show page paper edges
with special attribute 'PageBorderIfAny'.
This parameter defines width of margin that will be forcibly left around that output HTML-areas
that represent pages of source PDF document.In essence it defines guaranteed interval between
HTML-representations of PDF "paper" pages such mode of conversion.
|
![]() | BatchSize |
Defines batch size if batched conversion is applicable
to source and destination formats pair.
|
![]() | CloseResponse |
Gets or sets boolean value which indicates will Response object be closed after document saved into response.
(Inherited from SaveOptions.) |
![]() | CompressSvgGraphicsIfAny |
Gets or sets the flag that indicates whether
found SVG graphics(if any) will be compressed(zipped)
into SVGZ format during saving
|
![]() | ConvertMarkedContentToLayers | |
![]() | DefaultFontName |
Specifies the name of an installed font which is used to substitute
any document font that is not embedded and not installed in the system.
If null then default substitution font is used.
|
![]() | DocumentType |
Gets or sets the HtmlDocumentType.
|
![]() | ExplicitListOfSavedPages |
With this property You can explicitely define
what pages of document should be converted.
Pages in this list must have 1-based numbers. I.e.
valid numbers of pages must be taken from range (1...[NumberOfPagesInConvertedDocument])
Order of appearing of pages in this list does not affect their
order in result HTML page(s) - in result pages allways will go in order in which they are
present in source PDF.
If this list is null (as it is by default), all pages will be converted.
If any page number of this list will go out of range of present pages(1-[amountOfPagesInDocument])
exception will be thrown.
|
![]() | ExtractOcrSublayerOnly |
This atrribute turned on functionality for extracting image or text
for PDF documents with OCR sublayer.
(Inherited from UnifiedSaveOptions.) |
![]() | FixedLayout |
Gets or sets a value indicating whether that HTML is created as fixed layout.
|
![]() | FlowLayoutParagraphFullWidth |
This attribute specifies full width paragraph text for Flow mode, FixedLayout = false
|
![]() | FontSources |
Font sources of pre-saved fonts.
|
![]() | ImageResolution |
Gets or sets resolution for image rendering.
|
![]() | MinimalLineWidth |
This attribute sets minimal width of graphic path line.
If thickness of line is less than 1px Adobe Acrobat rounds it to this value. So this attribute can
be used to emulate this behavior for HTML browsers.
|
![]() | PreventGlyphsGrouping |
This attribute switch on the mode when text glyphs will not be grouped into words and strings
This mode allows to keep maximum precision during positioning of glyphs on the page and it can be
used for conversion documents with music notes or glyphs that should be placed separately each other.
This parameter will be applied to document only when the value of FixedLayout attribute is true.
|
![]() | SaveFormat |
Format of data save.
(Inherited from SaveOptions.) |
![]() | SimpleTextboxModeGrouping |
This attribute specifies a sequential grouping of glyphs and words into strings
For example tags and words has different order in converted HTML and you want them to match.
This parameter will be applied to document only when the value of FixedLayout attribute is true.
|
![]() | SplitCssIntoPages |
When multipage-mode selected(i.e 'SplitIntoPages' is 'true'),
then this attribute defines whether should be created separate CSS-file
for each result HTML page.
By default this attribute is false, so, will be created
one big common CSS for all created pages. Summary size of all
CSSes generated in this mode(one CSS per page) usually
much more than size of one big CSS file, because in former case
CSS classes are duplicates in such case in several CSS files for each page.
So, this setting is worse to be used only when You are interested
in future processing of each HTML page independently, and therefore size
of CSS of each one page taken apart is the most critical issue.
|
![]() | SplitIntoPages |
Gets or sets the flag that indicates whether each page of source
document will be converted into it's own target HTML document,
i.e whether result HTML will be splitted into several HTML-pages.
|
![]() | UseZOrder |
If attribute UseZORder set to true, graphics and text are added to resultant HTML document
accordingly Z-order in original PDF document. If this attribute is false all graphics is put
as single layer which may cause some unnecessary effects for overlapped objects.
|
![]() | WarningHandler |
Callback to handle any warnings generated.
The WarningHandler returns ReturnAction enum item specifying either Continue or Abort.
Continue is the default action and the Save operation continues, however the user may also return Abort in which case the Save operation should cease.
(Inherited from SaveOptions.) |