Method SetDefinition
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
SetDefinition(DxfPdfDefinition)
Makes the underlay show another definition of its drawing, as AutoCAD's DefinitionId set: its 340 the definition's
handle, the definition's reactors given the underlay.
public void SetDefinition(DxfPdfDefinition definition)
Parameters
definitionDxfPdfDefinitionThe definition, of the underlay's drawing; of any drawing for an underlay 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 underlay's.
- InvalidOperationException
Thrown when the underlay is erased.