VectorRasterizationOptions class

VectorRasterizationOptions class

The vector rasterization options.

The VectorRasterizationOptions type exposes the following members:

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.

See Also