CadSettings

public final class CadSettings

Settings for Cad. Values fall back through three levels: document → SDK → built-in default. Writes target the document only when set on a document's settings, otherwise the SDK globally when set on SdkSettings.

Constructors

Link copied to clipboard
public void CadSettings()

Functions

Link copied to clipboard
The canvas background color.
Link copied to clipboard
public final boolean getEnableLineWeight()
This flags controls the support of line weight.
Link copied to clipboard
public final RenderingLayoutMode getRenderingLayoutMode()
The rendering layout mode that determines how the canvas size and rendering origin are computed.
Link copied to clipboard
public final double getRenderZoom()
The zoom level for rendering CAD documents.
Link copied to clipboard
public final boolean getThumbnailMode()
Indicates whether thumbnail mode is enabled for CAD rendering.
Link copied to clipboard
public final UnitMode getUnitMode()
The unit mode for measurement in CAD documents.
Link copied to clipboard
public final void setCanvasBackgroundColor(Color value)
The canvas background color.
Link copied to clipboard
public final void setEnableLineWeight(boolean value)
This flags controls the support of line weight.
Link copied to clipboard
public final void setRenderingLayoutMode(RenderingLayoutMode value)
The rendering layout mode that determines how the canvas size and rendering origin are computed.
Link copied to clipboard
public final void setRenderZoom(double value)
The zoom level for rendering CAD documents.
Link copied to clipboard
public final void setThumbnailMode(boolean value)
Indicates whether thumbnail mode is enabled for CAD rendering.
Link copied to clipboard
public final void setUnitMode(UnitMode value)
The unit mode for measurement in CAD documents.