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
getHtmlFormatter
Name
Description
getHtmlFormatter()
Returns or sets HTML template. Read/write IHtmlFormatter.
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
getNotesCommentsLayouting
Name
Description
getNotesCommentsLayouting()
Provides options that control how notes and comments is placed in exported document.
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)
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.