CadRasterizationOptions class

CadRasterizationOptions class

The Cad rasterization options.

Inheritance: CadRasterizationOptionsVectorRasterizationOptions

The CadRasterizationOptions type exposes the following members:

Constructors

ConstructorDescription
initConstructs a new instance of CadRasterizationOptions

Properties

PropertyDescription
border_xGets or sets the border X.
marginsGets or sets Margins.
border_yGets or sets the border Y.
page_heightGets or sets the page height.
page_sizeGets or sets the page size.
page_widthGets or sets the page width.
background_colorGets or sets a background color.
embed_backgroundWether background of color not equal to default background color of output format (white for PDF and SVG, transparent for raster) should be embedded into output image (if not embedded, background will be default of the output render system, but color of the content that depend on background color will be rendered using stated background color)
draw_colorGets or sets a foreground color.
unit_typeGets or sets unit type of export result.
content_as_bitmapGets or sets a value indicating whether content of a drawing is represented as image inside Pdf. Applicable only for CAD to Pdf export. Default is false.
graphics_optionsGets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
relative_scaleScale of exported region relative to whole document’s image. Calculated as ratio of corresponding dimension of exported region to larger dimension of exported document.
relative_positionPosition of top left corner of exported region relative to whole document’s image, in relative units - 0,0 is top left, 1,1 is bottom of document’s image.
zoomGets or sets zoom factor. Allows to zoom drawing relatively to canvas size. Value of 1 corresponds to exact fit, value below 1 allows to preserve margins, value above 1 allows to scale drawing up.
pen_optionsGets or sets the pen options.
observer_pointGets or sets the observer point.
automatic_layouts_scalingGets or sets a value indicating whether layouts should be automatically scaled.
layersGets or sets layers of DXF file to export.
layoutsGets or sets the layoutName.
draw_typeGets or sets type of drawing.
scale_methodGets or sets scale method for automatic adjust of image size.
no_scalingGets or sets no scaling during export.
pdf_product_locationThe PDF product location
qualityGets or sets the quality.
export_all_layout_contentGets or sets whether to export entities on layouts, which are outside plot area.
shx_fontsGets or sets paths to SHX fonts to be used at export.
shx_code_pagesGets or sets the SHX sources.
render_mode_3dGets or sets 3D render mode.
visibility_modeGets or sets object visibility check mode

See Also