Class SvgRasterizationOptions

SvgRasterizationOptions class

The SVG rasterization options.

public class SvgRasterizationOptions : VectorRasterizationOptions

Constructors

NameDescription
SvgRasterizationOptions()The default constructor.

Properties

NameDescription
BackgroundColor { get; set; }Gets or sets a background color.
BorderX { get; set; }Gets or sets the border X.
BorderY { get; set; }Gets or sets the border Y.
CenterDrawing { get; set; }Gets or sets a value indicating whether center drawing.
DrawColor { get; set; }Gets or sets a foreground color.
PageHeight { get; set; }Gets or sets the page height. If the value is 0, the source image aspect ratio will be preserved.
PageSize { get; set; }Gets or sets the page size. If one of SizeF dimensions is 0, the source image aspect ratio will be preserved.
PageWidth { get; set; }Gets or sets the page width. If the value is 0, the source image aspect ratio will be preserved.
Positioning { get; set; }Gets or sets the positioning.
ReplaceTextMapping { get; set; }Gets or sets the text replace mapping.
ScaleX { get; set; }Gets or sets the scale x.
ScaleY { get; set; }Gets or sets the scale y.
SmoothingMode { get; set; }Gets or sets the smoothing mode.
TextRenderingHint { get; set; }Gets or sets the text rendering hint.

Methods

NameDescription
Clone()Creates a new object that is a shallow copy of the current instance.
override CopyTo(VectorRasterizationOptions)Copies this instance to vectorRasterizationOptions.

See Also