Constructor DxfPdfDefinition
- Namespace
- GeometryHelper.Dxf
- Assembly
- GeometryHelper.dll
DxfPdfDefinition(string, string)
Initializes a definition made in code of a page of a PDF file, as AutoCAD's new PdfDefinition() given its
SourceFileName and ItemName. Added to a drawing by SetAt(string, DxfDBObject) of its dictionary
of PDF underlays (CreatePdfDictionary(DxfDatabase)).
public DxfPdfDefinition(string sourceFileName, string itemName)
Parameters
sourceFileNamestringThe path of the PDF, as it is to be written:
C:\plans\sample.pdf. The library does not look for the file.itemNamestringThe name of the page, its number as text for a PDF:
1.
Exceptions
- ArgumentNullException
Thrown when the path or the page's name is null.