HtmlOptions
HtmlOptions class
Represents a HTML exporting options.
HtmlOptions
Parameters:
Result:
HtmlOptions
HtmlOptions
| Name | Description |
|---|
| HtmlOptions() | Creates a new HtmlOptions object for saving into single HTML file. |
Result:
HtmlOptions
getDefaultRegularFont
| Name | Description |
|---|
| getDefaultRegularFont() | Returns or sets font used in case source font is not found. Read-write String. |
Result:
String
getDeletePicturesCroppedAreas
| Name | Description |
|---|
| getDeletePicturesCroppedAreas() | A boolean flag indicates if the cropped parts remain as part of the document. If true the cropped parts will removed, if false they will be serialized in the document (which can possible lead to a larger file) |
Result:
boolean
| Name | Description |
|---|
| getHtmlFormatter() | Returns or sets HTML template. Read/write IHtmlFormatter. |
Result:
HtmlFormatter
getJpegQuality
| Name | Description |
|---|
| getJpegQuality() | Returns or sets a value determining the quality of the JPEG images inside PDF document. Read/write byte. Has effect only when a document contains JPEG images. Use this property to get or set the quality of the images inside a document when saving in PDF format. The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression. The default value is 95. |
Result:
byte
| Name | Description |
|---|
| getNotesCommentsLayouting() | Provides options that control how notes and comments is placed in exported document. |
Result:
NotesCommentsLayoutingOptions
getPicturesCompression
| Name | Description |
|---|
| getPicturesCompression() | Represents the pictures compression level |
Result:
int
getProgressCallback
| Name | Description |
|---|
| getProgressCallback() | Represents a callback object for saving progress updates in percentage. See IProgressCallback. |
Result:
IProgressCallback
getShowHiddenSlides
| Name | Description |
|---|
| getShowHiddenSlides() | Specifies whether the generated document should include hidden slides or not. Default is false. |
Result:
boolean
| Name | Description |
|---|
| getSlideImageFormat() | Returns or sets slide image format options. Read/write ISlideImageFormat. |
Result:
SlideImageFormat
getSvgResponsiveLayout
| Name | Description |
|---|
| getSvgResponsiveLayout() | True to exclude width and height attributes from svg container - that will make layout responsive. False - otherwise. Read/write boolean. |
Result:
boolean
getWarningCallback
| Name | Description |
|---|
| getWarningCallback() | Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback. |
Result:
IWarningCallback
setDefaultRegularFont
| Name | Description |
|---|
| setDefaultRegularFont(String) | Returns or sets font used in case source font is not found. Read-write String. |
setDeletePicturesCroppedAreas
| Name | Description |
|---|
| setDeletePicturesCroppedAreas(boolean) | A boolean flag indicates if the cropped parts remain as part of the document. If true the cropped parts will removed, if false they will be serialized in the document (which can possible lead to a larger file) |
| Name | Description |
|---|
| setHtmlFormatter(HtmlFormatter) | Returns or sets HTML template. Read/write IHtmlFormatter. |
setJpegQuality
| Name | Description |
|---|
| setJpegQuality(byte) | Returns or sets a value determining the quality of the JPEG images inside PDF document. Read/write byte. Has effect only when a document contains JPEG images. Use this property to get or set the quality of the images inside a document when saving in PDF format. The value may vary from 0 to 100 where 0 means worst quality but maximum compression and 100 means best quality but minimum compression. The default value is 95. |
setPicturesCompression
| Name | Description |
|---|
| setPicturesCompression(int) | Represents the pictures compression level |
setProgressCallback
| Name | Description |
|---|
| setProgressCallback(IProgressCallback) | Represents a callback object for saving progress updates in percentage. See IProgressCallback. |
setShowHiddenSlides
| Name | Description |
|---|
| setShowHiddenSlides(boolean) | Specifies whether the generated document should include hidden slides or not. Default is false. |
| Name | Description |
|---|
| setSlideImageFormat(SlideImageFormat) | Returns or sets slide image format options. Read/write ISlideImageFormat. |
setSvgResponsiveLayout
| Name | Description |
|---|
| setSvgResponsiveLayout(boolean) | True to exclude width and height attributes from svg container - that will make layout responsive. False - otherwise. Read/write boolean. |
setWarningCallback
| Name | Description |
|---|
| setWarningCallback(IWarningCallback) | Returns of sets an object which receives warnings and decides whether loading process will continue or will be aborted. Read/write IWarningCallback. |