Specify a file name and export the drawing to a PDF file.
Namespace:
RootPro.RootProCAD
Assembly:
RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax public abstract void SaveAsPdf(
string fileName,
string userPasswd,
string ownerPasswd,
PdfPermissionFlags permissionFlags,
string[] embeddedFileNames
)
Public MustOverride Sub SaveAsPdf (
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