Document.Export
Description:
Exports the current view or a selection of views in DWFX format.
Exports the current view or a selection of views in DWFX format.
Remarks:
All the views must be printable in order for the Export to succeed. It can be assured by checking the CanBePrinted property of each view.
All the views must be printable in order for the Export to succeed. It can be assured by checking the CanBePrinted property of each view.
Overloads (13):
Export(String,String,ViewSet,DWFXExportOptions)
public bool Export(
string folder,
string name,
ViewSet views,
DWFXExportOptions options
)
-
StringfolderOutput folder, into which file(s) will be exported. The folder must exist.
-
StringnameEither the name of a single file or a prefix for a set of files. If nulla null reference (Nothing in Visual Basic) or empty, automatic naming will be used.
-
viewsSelection of views to be exported.
-
optionsVarious options applicable to the DWFX format. If nulla null reference (Nothing in Visual Basic), all options will be set to their respective default values.
Return Value
bool
Function returns true only if all specified views are exported successfully.
The function returns False if exporting of any view fails, even if some views might have been exported successfully.
-
Thrown when the input views isnullNothingnullptra null reference (Nothingin Visual Basic)
-
Thrown when the input views is an empty ViewSet.
-
Thrown when the current document is not modifiable.