Table of Contents

Property Contrast

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

Contrast

Gets or sets the contrast of the image (group 282), as AutoCAD's Contrast: 0 to 100, 50 where the record gives none.

public byte Contrast { get; set; }

Property Value

byte

Exceptions

ArgumentOutOfRangeException

Thrown when the value set is above 100, as AutoCAD answers eInvalidInput.

InvalidOperationException

Thrown when the image is erased.

NotSupportedException

Thrown when it is set on a WIPEOUT, as AutoCAD 2021 refuses every value.