.NET Framework Class Library
CADSystem.SaveAsPDF Method
|
<< Click to Display Table of Contents >> Navigation: MwPDMApi Namespace > CADSystem Class > CADSystem Methods > .NET Framework Class Library |
Saves with a PDF specified name the currently opened file in CAD application.
Namespace: MwPDMApi
Assembly: MwPDMApi (in MwPDMApi.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Visual Basic |
|---|
Public Function SaveAsPDF ( _ fullFileName As String, _ |
C# |
|---|
public ShellResult SaveAsPDF( string fullFileName, |
Visual C++ |
|---|
public: ShellResult^ SaveAsPDF( |
JavaScript |
|---|
function saveAsPDF(fullFileName, saveAsCopy, exportInColor, exportEmbedFonts, exportHighQuality, exportPrintHeaderFooter, exportUseCurrentPrintLineWeights, saveAs3DPDF); |
Parameters
fullFileName
Type: System.String
full name of the pdf file to save
saveAsCopy (Optional)
Type: System.Boolean
Optional. TRUE performs ‘save as copy’ of the currently activated document, FALSE otherwise
exportInColor (Optional)
Type: System.Boolean
Optional. TRUE a color PDF is created, FALSE otherwise
exportEmbedFonts (Optional)
Type: System.Boolean
Optional. TRUE the PDF is created with the fonts embedded in it, FALSE otherwise
exportHighQuality (Optional)
Type: System.Boolean
Optional. TRUE the PDF is created in high quality for drawing documents, FALSE otherwise
exportPrintHeaderFooter (Optional)
Type: System.Boolean
Optional. TRUE the specified header and footer (in CAD application) are used when creating the PDF, FALSE otherwise
exportUseCurrentPrintLineWeights (Optional)
Type: System.Boolean
Optional. TRUE the default printer line weights are used when creating the PDF, FALSE otherwise
saveAs3DPDF (Optional)
Type: System.Boolean
Optional. TRUE creates a 3D PDF, FALSE otherwise
Return Value
Shell result object. For SolidWorks, the following items are available: "@SWSAVEAS_SOLIDWORKS_ERROR", "@SWSAVEAS_SOLIDWORKS_ERROR_STRING", "@SWSAVEAS_SOLIDWORKS_WARNING"
Remarks
See Also