Table of Contents

Method SuggestName

Namespace
GeometryHelper.Dxf
Assembly
GeometryHelper.dll

SuggestName(DxfDBDictionary, string, string)

Gives a name for a definition of a page in a dictionary of PDF underlays, as the External References palette names one: the file's name without its folder or extension, then - Page_ and the page, sample - Page_1 for page 1 of C:\plans\sample.pdf; where the dictionary has that name, letters of either case the same, the name and _1, or _2 and on, the first it has not.

public static string SuggestName(DxfDBDictionary pdfDictionary, string path, string itemName)

Parameters

pdfDictionary DxfDBDictionary

The dictionary of PDF underlays.

path string

The path of the PDF.

itemName string

The name of the page.

Returns

string

The name.

Exceptions

ArgumentNullException

Thrown when the dictionary, the path or the page's name is null.