Method CreatePdfDictionary
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
CreatePdfDictionary(DxfDatabase)
Gets the dictionary of the PDF underlays of a drawing, made where it has none: ACAD_PDFUNDERLAYS of the named object dictionary, owned by it, of entries kept (281 of 1), as AutoCAD 2021 writes it.
public static DxfDBDictionary CreatePdfDictionary(DxfDatabase database)
Parameters
databaseDxfDatabaseThe drawing, of R2010 (AC1024) or later.
Returns
- DxfDBDictionary
The dictionary.
Exceptions
- ArgumentNullException
Thrown when the drawing is null.
- InvalidOperationException
Thrown when the drawing is older than R2010, which has no PDF underlays, or has no named object dictionary.