CmxRasterizationOptions Class

Summary: the CMX exporter options.

Module: aspose.psd.imageoptions

Full Name: aspose.psd.imageoptions.CmxRasterizationOptions

Inheritance: VectorRasterizationOptions

Aspose.PSD Version: 24.4.0

Constructors

NameDescription
CmxRasterizationOptions()Initializes a new instance of the CmxRasterizationOptions 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.
buffer_size_hintintr/wGets or sets the buffer size hint which is defined max allowed size for all internal buffers.
center_drawingboolr/wGets or sets a value indicating whether center drawing.
default_replacement_fontstringr/wGets or sets the default replacement font (font that will be used to draw text when exporting to raster, if existing layer font in PSD file is not presented in system).
To take proper name of default font can be used next code snippet:
System.Drawing.Text.InstalledFontCollection col = new System.Drawing.Text.InstalledFontCollection();
System.Drawing.FontFamily families = col.Families;
string defaultFontName = families[0].Name;
PsdLoadOptions psdLoadOptions = new PsdLoadOptions() { DefaultReplacementFont = defaultFontName });
disposedboolrGets a value indicating whether this instance is disposed.
draw_colorColorr/wGets or sets a foreground color.
full_frameboolr/wGets or sets a value indicating whether [full frame].
multi_page_optionsMultiPageOptionsr/wThe multipage options
page_heightfloatr/wGets or sets the page height.
page_sizeSizeFr/wGets or sets the page size.
page_widthfloatr/wGets or sets the page width.
paletteIColorPaletter/wGets or sets the color palette.
positioningPositioningTypesr/wGets or sets the positioning.
resolution_settingsResolutionSettingr/wGets or sets the resolution settings.
smoothing_modeSmoothingModer/wGets or sets the smoothing mode.
sourceSourcer/wGets or sets the source to create image in.
text_rendering_hintTextRenderingHintr/wGets or sets the text rendering hint.
vector_rasterization_optionsVectorRasterizationOptionsr/wGets or sets the vector rasterization options.
xmp_dataXmpPacketWrapperr/wGets or sets the XMP metadata container.

Methods

NameDescription
clone()Clones this instance.
copy_to(vector_rasterization_options)Copies to.

Constructor: CmxRasterizationOptions()

 CmxRasterizationOptions() 

Initializes a new instance of the CmxRasterizationOptions class

Method: clone()

 clone() 

Clones this instance.

Returns

TypeDescription
ImageOptionsBaseReturns 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.