CdrRasterizationOptions Class
Contents
[
Hide
]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: IHasXmpData, IHasMetadata, VectorRasterizationOptions
Constructors
Name | Description |
---|---|
CdrRasterizationOptions() | Initializes a new instance of the CdrRasterizationOptions class. |
Properties
Name | Type | Access | Description |
---|---|---|---|
background_color | Color | r/w | Gets or sets a background color. |
border_x | float | r/w | Gets or sets the border X. |
border_y | float | r/w | Gets or sets the border Y. |
buffer_size_hint | int | r/w | Gets or sets the buffer size hint which is defined max allowed size for all internal buffers. |
center_drawing | bool | r/w | Gets or sets a value indicating whether center drawing. |
disposed | bool | r | Gets a value indicating whether this instance is disposed. |
draw_color | Color | r/w | Gets or sets a foreground color. |
full_frame | bool | r/w | Gets or sets a value indicating whether [full frame]. |
keep_metadata | bool | r/w | Gets a value whether to keep original image metadata on export. |
multi_page_options | MultiPageOptions | r/w | The multipage options |
page_height | float | r/w | Gets or sets the page height. If the value is 0, the source image aspect ratio will be preserved. |
page_size | SizeF | r/w | Gets or sets the page size. If one of SizeF dimensions is 0, the source image aspect ratio will be preserved. |
page_width | float | r/w | Gets or sets the page width. If the value is 0, the source image aspect ratio will be preserved. |
palette | IColorPalette | r/w | Gets or sets the color palette. |
positioning | PositioningTypes | r/w | Gets or sets the positioning. |
resolution_settings | ResolutionSetting | r/w | Gets or sets the resolution settings. |
scale_x | float | r/w | Gets or sets the scale x. |
scale_y | float | r/w | Gets or sets the scale y. |
smoothing_mode | SmoothingMode | r/w | Gets or sets the smoothing mode. |
source | Source | r/w | Gets or sets the source to create image in. |
text_rendering_hint | TextRenderingHint | r/w | Gets or sets the text rendering hint. |
vector_rasterization_options | VectorRasterizationOptions | r/w | Gets or sets the vector rasterization options. |
xmp_data | XmpPacketWrapper | r/w | Gets or sets Xmp data. |
Methods
Name | Description |
---|---|
clone() | Creates a memberwise clone of this instance. |
copy_to(vector_rasterization_options) | Copies to. |
Constructor: CdrRasterizationOptions()
CdrRasterizationOptions()
Initializes a new instance of the CdrRasterizationOptions class.
Method: clone()
clone()
Creates a memberwise clone of this instance.
Returns
Type | Description |
---|---|
ImageOptionsBase | A memberwise clone of this instance. |
Method: copy_to(vector_rasterization_options)
copy_to(vector_rasterization_options)
Copies to.
Parameters:
Parameter | Type | Description |
---|---|---|
vector_rasterization_options | VectorRasterizationOptions | The vector rasterization options. |