CdrRasterizationOptions Class

Summary: 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.

Module: aspose.imaging.imageoptions

Full Name: aspose.imaging.imageoptions.CdrRasterizationOptions

Inheritance: VectorRasterizationOptions

Constructors

NameDescription
CdrRasterizationOptions()Initializes a new instance of the CdrRasterizationOptions class.

Properties

NameTypeAccessDescription
background_colorColorr/wGets or sets a background color.
border_xfloatr/wGets or sets the border X.
border_yfloatr/wGets or sets the border Y.
center_drawingboolr/wGets or sets a value indicating whether center drawing.
draw_colorColorr/wGets or sets a foreground color.
page_heightfloatr/wGets or sets the page height.
If the value is 0, the source image aspect ratio will be preserved.
page_sizeSizeFr/wGets or sets the page size.
If one of SizeF dimensions is 0, the source image aspect ratio will be preserved.
page_widthfloatr/wGets or sets the page width.
If the value is 0, the source image aspect ratio will be preserved.
positioningPositioningTypesr/wGets or sets the positioning.
scale_xfloatr/wGets or sets the scale x.
scale_yfloatr/wGets or sets the scale y.
smoothing_modeSmoothingModer/wGets or sets the smoothing mode.
text_rendering_hintTextRenderingHintr/wGets or sets the text rendering hint.

Methods

NameDescription
clone()Creates a new object that is a shallow copy of the current instance.
copy_to(vector_rasterization_options)Copies to.

Constructor: CdrRasterizationOptions()

 CdrRasterizationOptions() 

Initializes a new instance of the CdrRasterizationOptions class.

Method: clone()

 clone() 

Creates a new object that is a shallow copy of the current instance.

Returns

TypeDescription
objectA new object that is a shallow copy of this instance.

Method: copy_to(vector_rasterization_options)

 copy_to(vector_rasterization_options) 

Copies to.

Parameters:

ParameterTypeDescription
vector_rasterization_optionsVectorRasterizationOptionsThe vector rasterization options.