CadOptions

CadOptions class

Provides options for rendering CAD drawings.

public class CadOptions

Properties

Name Description
BackgroundColor { get; set; } Image background color
Height { get; } The height of the output result in pixels.
Layers { get; set; } The CAD drawing layers to render.
LayoutName { get; set; } The name of the specific layout to render. Layout name is case-sensitive.
Pc3File { get; set; } PC3 - plotter configuration file
RenderLayouts { get; set; } Indicates whether layouts from CAD document should be rendered.
ScaleFactor { get; } Values higher than 1 will enlarge output result; values between 0 and 1 will make output result smaller.
Tiles { get; set; } The drawing regions to render.
Width { get; } The width of the output result in pixels.

Methods

Name Description
static ForRenderingByHeight(int) Initializes new instance of CadOptions class for rendering by height.
static ForRenderingByScaleFactor(float) Initializes new instance of CadOptions class for rendering by scale factor.
static ForRenderingByWidth(int) Initializes new instance of CadOptions class for rendering by width.
static ForRenderingByWidthAndHeight(int, int) Initializes new instance of CadOptions class for rendering by width and height.

See Also