Click or drag to resize

SVGOutputOptions Class

A class containing options for ToSvg functions
Inheritance Hierarchy
SystemObject
  pdftron.PDFSVGOutputOptions

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public sealed class SVGOutputOptions

The SVGOutputOptions type exposes the following members.

Constructors
  NameDescription
Public methodSVGOutputOptions
Creates an SVGOutputOptions object with default settings
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetAnnots
Control generation of form fields and annotations in SVG.
Public methodSetCompress
Compress output SVG files using SVGZ.
Public methodSetCreateXmlWrapper
Create a XML document that contains metadata of the SVG document created.
Public methodSetDtd
Set whether the DTD declaration is included in the SVG files.
Public methodSetEmbedFonts
Sets whether to embed fonts into each SVG page file, or to have them shared.
Public methodSetEmbedImages
Sets whether to embed all images
Public methodSetFlattenContent
Flatten images and paths into a single background image overlaid with vector text. This option can be used to improve speed on devices with little processing power such as iPads. Default is e_fast.
Public methodSetFlattenDPI
The output resolution, from 1 to 1000, in Dots Per Inch (DPI) at which to render elements which cannot be directly converted. Default is 140.
Public methodSetFlattenMaximumImagePixels
Specifies the maximum image size in pixels. Default is 2000000.
Public methodSetFlattenThreshold
Used to control how precise or relaxed text flattening is. When some text is preserved (not flattened to image) the visual appearance of the document may be altered.
Public methodSetIndividualCharPlacement
Some viewers do not support the default text positioning correctly. This option works around this issue to place text correctly, but produces verbose output. This option will override SetRemoveCharPlacement
Public methodSetNoFonts
Sets whether to disable conversion of font data to SVG
Public methodSetNoUnicode
Sets whether to disable mapping of text to public Unicode region. Instead text will be converted using a custom encoding
Public methodSetOutputThumbnails
Sets whether per page thumbnails should be included in the file. Default is true.
Public methodSetOverprint
Enable or disable support for overprint and overprint simulation. Overprint is a device dependent feature and the results will vary depending on the output color space and supported colorants (i.e. CMYK, CMYK+spot, RGB, etc). Default is e_op_pdfx_on.
Public methodSetPreserveFontFamilyNames
Sets whether to use the font/font-family naming scheme as obtained from the source file.
Public methodSetRemoveCharPlacement
Sets whether to disable the output of character positions. This will produce slightly smaller output files than the default setting, but many viewers do not support the output correctly If true, the output of character positions is disabled.
Public methodSetSvgFonts
Sets whether to convert all fonts to SVG or not.
Public methodSetThumbnailSize
The maximum dimension for thumbnails.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also