Constructor DxfPdfUnderlay
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfPdfUnderlay(DxfPdfDefinition)
Initializes an underlay made in code of a definition of a drawing, as AutoCAD's new PdfReference() given its
DefinitionId: its corner at the origin, scale 1 along every side, not turned, shown, its colours adjusted, its
contrast 100 and its fade 0, with no clip boundary, as AutoCAD 2021 writes a new one. Appended to a block of the
definition's drawing by AppendEntity(DxfEntity), it is counted by
GetEntityCount().
public DxfPdfUnderlay(DxfPdfDefinition definition)
Parameters
definitionDxfPdfDefinitionThe definition, of a drawing's dictionary of PDF underlays.
Exceptions
- ArgumentNullException
Thrown when the definition is null.
- ArgumentException
Thrown when the definition is in no drawing, or erased.