ExportPDFSettings.Create
Description:
Returns an new created ExportPDFSettings element in the document with specified settings.
Returns an new created ExportPDFSettings element in the document with specified settings.
public static ExportPDFSettings Create(
Document document,
string name,
PDFExportOptions options
)
-
documentDocument where the settings will be created.
-
StringnameName to the settings.
-
optionsThe options to be set.
-
name is an empty string or contains only whitespace. -or- name cannot include prohibited characters, such as "{, }, [, ], |, ;, less-than sign, greater-than sign, ?, `, ~". -or- Setting name.
-
A non-optional argument was null
-
The document is in failure mode: an operation has failed, and Revit requires the user to either cancel the operation or fix the problem (usually by deleting certain elements). -or- The document is being loaded, or is in the midst of another sensitive process.
-
The document has no open transaction.