CadRasterizationOptions class

The Cad rasterization options.

public class CadRasterizationOptions : VectorRasterizationOptions


Name Description
CadRasterizationOptions() The default constructor.


Name Description
AutomaticLayoutsScaling { get; set; } Gets or sets a value indicating whether layouts should be automatically scaled.
BackgroundColor { get; set; } Gets or sets a background color.
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.
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.
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.
ScaleMethod { get; set; } Gets or sets scale method for automatic adjust of image size.
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.
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.


Name Description
RenderResult Rendering result handler.

See Also