Table of Contents

Property DisplayOptions

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

DisplayOptions

Gets or sets how the image is shown (group 70), as the DXF reference, ezdxf and ACadSharp read the flags; AutoCAD 2021 writes 7 for a new image, and 15 once its transparency is on.

public DxfImageDisplayOptions DisplayOptions { get; set; }

Property Value

DxfImageDisplayOptions

Set, the flags written as their number; AutoCAD 2021's own DisplayOptions writes 255 for Show with Transparent, 9, which the library does not follow.

Exceptions

ArgumentOutOfRangeException

Thrown when the options set have a flag outside 1, 2, 4 and 8.

InvalidOperationException

Thrown when the image is erased.

NotSupportedException

Thrown when the options are set on a WIPEOUT, whose 70 AutoCAD 2021 keeps at 7 whatever it is set to.