Table of Contents

Method AssociateRasterDef

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

AssociateRasterDef(DxfRasterImageDef)

Makes the image show a definition of its drawing, as AutoCAD's AssociateRasterDef: its 340 the definition, its size in pixels the definition's, its sides kept, so that the picture 40 by 30 of 4 by 3 pixels given one of 8 by 6 stays 40 by 30 of 8 by 6, its boundary scaled with the pixels, a polygon another writer left not closed written closed, as AutoCAD 2021 cannot open a drawing of an image whose polygon is not; and its IMAGEDEF_REACTOR taken from the definition it showed to this one, or made, as AutoCAD 2021 makes one, so that GetEntityCount(out bool) counts it.

public void AssociateRasterDef(DxfRasterImageDef definition)

Parameters

definition DxfRasterImageDef

The definition, of the image's drawing; of any drawing for an image made in code in none.

Exceptions

ArgumentNullException

Thrown when the definition is null.

ArgumentException

Thrown when the definition is erased, in no drawing, or of another drawing than the image's.

NotSupportedException

Thrown for a WIPEOUT, which shows none.

InvalidOperationException

Thrown when the image is erased.