Table of Contents

Property Contrast

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Contrast

Gets or sets the contrast of the view (group 142, from R2007), as AutoCAD's Contrast: -100 to 100; nought where the record gives none.

public double Contrast { get; set; }

Property Value

double

Exceptions

ArgumentOutOfRangeException

Thrown when the value set is not from -100 to 100.

InvalidOperationException

Thrown when the viewport is erased, or set in a file older than R2007.