DocumentExportPdfFile Method |
Specify a file name and export the drawing to a PDF file.
Even if the setting is set to display the conversion settings dialog for each external file when exporting, it will not be displayed.
If you want to reflect the setting to display the conversion settings dialog for each external file, use the SaveAs method.
Namespace:
RootPro.RootProCAD
Assembly:
RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 13.0.0.0 (13.0.0.0)
Syntaxpublic abstract void ExportPdfFile(
string fileName,
string userPasswd,
string ownerPasswd,
PdfPermissionFlags permissionFlags,
string[] embeddedFileNames
)
Public MustOverride Sub ExportPdfFile (
fileName As String,
userPasswd As String,
ownerPasswd As String,
permissionFlags As PdfPermissionFlags,
embeddedFileNames As String()
)
Parameters
- fileName
- Type: SystemString
The full path name of the PDF file to be saved. - userPasswd
- Type: SystemString
Open password (Up to 32 alphanumeric characters, specify a different one from "far" Passwd. "": If not specified, no password is set ). - ownerPasswd
- Type: SystemString
Authorization password (Up to 32 alphanumeric characters, different from userPasswd. "": If not specified, no password is set ). - permissionFlags
- Type: RootPro.RootProCADPdfPermissionFlags
Operation authorization (print, edit, copy) mode. PdfPermissionFlags - embeddedFileNames
- Type: SystemString
Array of attached file paths (if you wish to attach other than the original RootPro CAD drawing file).
See Also