ExportToPng Method (IDocumentExporter) Send Feedback
See Also  Example
PathName
Path and file name to which to save the current view of the drawing 
Success[out]
True if the current view of the drawing is saved, false if not
Saves the current view of the drawing as a .png (Portable Network Graphics bitmap image) file.

Syntax

Visual Basic 
Sub ExportToPng( _
   ByVal PathName As System.String, _
   ByRef Success As System.Boolean _
) 
C# 
void ExportToPng( 
   System.string PathName,
   out System.bool Success
)
JavaScript 
ExportToPng( 
   PathName : String
) : Boolean
COM native C++ 
HRESULT ExportToPng( 
   BSTR PathName,
   VARIANT_BOOL* Success
) 
C++ 
DSRESULT ExportToPng( 
   const dsString& PathName,
   bool* Success
) 

Parameters

PathName
Path and file name to which to save the current view of the drawing 
Success[out] or Return Value
True if the current view of the drawing is saved, false if not

Example

Example

 

See Also

Availability

DraftSight V1R1