Class CdrRasterizationOptions

CdrRasterizationOptions class

With the ability to perform CDR image rasterization and set scale factors for both X and Y dimensions, this API provides precise control over the transformation process. Whether scaling for specific output requirements or converting vector graphics to raster formats, you can leverage this API for efficient and customizable CDR vector to raster image conversion.

public class CdrRasterizationOptions : VectorRasterizationOptions

Constructors

NameDescription
CdrRasterizationOptions()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.
virtual CopyTo(VectorRasterizationOptions)Copies to.

See Also