Class CadRasterizationOptions

CadRasterizationOptions class

The Cad rasterization options.

public class CadRasterizationOptions : VectorRasterizationOptions

Constructors

NameDescription
CadRasterizationOptions()The default constructor.

Properties

NameDescription
AutomaticLayoutsScaling { get; set; }Gets or sets a value indicating whether layouts should be automatically scaled.
BackgroundColor { get; set; }Gets or sets a background color.
BorderX { get; set; }Gets or sets the border X.
BorderY { get; set; }Gets or sets the border Y.
ContentAsBitmap { get; set; }Gets 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.
CtbSources { get; set; }Gets or sets the CTB sources.
DrawColor { get; set; }Gets or sets a foreground color.
DrawType { get; set; }Gets or sets type of drawing.
EmbedBackground { get; set; }Wether 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)
ExportAllLayoutContent { get; set; }Gets or sets whether to export entities on layouts, which are outside plot area.
GraphicsOptions { get; set; }Gets or sets options to render bitmap inside pdf (if ContentAsBitmap is set to true).
Layers { get; set; }Gets or sets layers of DXF file to export.
LayoutPageSizes { get; set; }Gets or sets the layout page sizes.
LayoutPlotAreas { get; set; }
Layouts { get; set; }Gets or sets the layoutName.
Margins { get; set; }Gets or sets Margins.
NoScaling { get; set; }Gets or sets no scaling during export.
ObserverPoint { get; set; }Gets or sets the observer point.
PageDepth { get; set; }Gets or sets the page depth.
PageHeight { get; set; }Gets or sets the page height.
PageSize { get; set; }Gets or sets the page size.
PageWidth { get; set; }Gets or sets the page width.
PdfProductLocation { get; set; }The PDF product location
PenOptions { get; set; }Gets or sets the pen options.
Quality { get; set; }Gets or sets the quality.
RelativePosition { get; set; }Position 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.
RelativeScale { get; set; }Scale of exported region relative to whole document’s image. Calculated as ratio of corresponding dimension of exported region to larger dimension of exported document.
RenderMode3D { get; set; }Gets or sets 3D render mode.
ScaleMethod { get; set; }Gets or sets scale method for automatic adjust of image size.
ShxCodePages { get; set; }Gets or sets the SHX sources.
ShxFonts { get; set; }Gets or sets paths to SHX fonts to be used at export.
UnitType { get; set; }Gets or sets unit type of export result.
VisibilityMode { get; set; }Gets or sets object visibility check mode
Zoom { get; set; }Gets 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.

Fields

NameDescription
RenderResultRendering result handler.

See Also