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.
using Nutrient;The SDK creates this class through factory methods or other SDK objects.
Properties
CanvasBackgroundColor
public Color CanvasBackgroundColor { get; set; }Gets or sets the value of CanvasBackgroundColor. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: Color
EnableLineWeight
public bool EnableLineWeight { get; set; }Gets or sets the value of EnableLineWeight. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
RenderZoom
public double RenderZoom { get; set; }Gets or sets the value of RenderZoom. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: double
RenderingLayoutMode
public RenderingLayoutMode RenderingLayoutMode { get; set; }Gets or sets the value of RenderingLayoutMode. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: RenderingLayoutMode
ThumbnailMode
public bool ThumbnailMode { get; set; }Gets or sets the value of ThumbnailMode. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: bool
UnitMode
public UnitMode UnitMode { get; set; }Gets or sets the value of UnitMode. Reads walk the chain: Document override → SDK override → Default. Writes go to document level if available, otherwise SDK level.
Type: UnitMode
Resource management
public void Dispose()CadSettings implements IDisposable. Call Dispose() or use a C# using declaration to release its native handle right away. If you don’t, the handle is released when the object is garbage collected.