GetPreviewBitmapFile Method (IApplication) Send Feedback
See Also 
RetVal[out]
True if the preview bitmap is saved, false if not
DocumentPath
Path and file name of the document's preview bitmap (.bmp)
BitmapFile
File name to which to save the preview bitmap
Gets the preview bitmap of the specified document and saves it as a Windows bitmap file (.bmp) using the specified file name.

Syntax

Visual Basic 
Function GetPreviewBitmapFile( _
   ByVal DocumentPath As System.String, _
   ByVal BitmapFile As System.String _
) As System.Boolean
C# 
System.bool GetPreviewBitmapFile( 
   System.string DocumentPath,
   System.string BitmapFile
)
JavaScript 
GetPreviewBitmapFile( 
   DocumentPath : String,
   BitmapFile : String
) : Boolean
COM native C++ 
HRESULT GetPreviewBitmapFile( 
   BSTR DocumentPath,
   BSTR BitmapFile,
   VARIANT_BOOL* RetVal
) 
C++ 
DSRESULT GetPreviewBitmapFile( 
   const dsString& DocumentPath,
   const dsString& BitmapFile,
   bool* RetVal
) 

Parameters

DocumentPath
Path and file name of the document's preview bitmap (.bmp)
BitmapFile
File name to which to save the preview bitmap
RetVal[out] or Return Value
True if the preview bitmap is saved, false if not
 

See Also

Availability

DraftSight V1R3.0