ExportPDFSettings.IsValidName
Description:
Returns result that the proposed name is valid and not exist in the specified document.
Returns result that the proposed name is valid and not exist in the specified document.
Remarks:
Name can't contains following characters, such as { } [ ] | ; < > ? ` ~ \ : \r \n \f \t \v. Name can't be blank. If true, the name is valid and not exist in specified document. If false, the name is not a valid name which means it does not exist in specified document.
Name can't contains following characters, such as { } [ ] | ; < > ? ` ~ \ : \r \n \f \t \v. Name can't be blank. If true, the name is valid and not exist in specified document. If false, the name is not a valid name which means it does not exist in specified document.
public static bool IsValidName(
Document document,
string name
)
-
documentDocument to check
-
StringnameName to check.
Return Value
bool
Whether or not the name is valid.
-
A non-optional argument was null