SvgLoadOptions class

SvgLoadOptions class

Provides options for loading SVG documents.

The SvgLoadOptions type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of SvgLoadOptions.

Methods

Method Description
equals Determines whether two object instances are equal. (inherited from ValueObject)
equals_object (inherited from ValueObject)
equals_value_object (inherited from ValueObject)
get_hash_code Serves as the default hash function. (inherited from ValueObject)

Properties

Property Description
crop_to_content_bounds The value indicating whether to crop the SVG bounding box to the content bounds before conversion. The default is False.
format The input document file type.
minimum_height The minimum height for converting an SVG document. Used when converting to raster formats. Default is 600.
minimum_width The minimum width for converting an SVG document, used when converting to raster formats; default is 800.
skip_external_resources The property implements IResourceLoadingOptions.skip_external_resources.
whitelisted_resources The external resources that will always be loaded.

See Also