| Visual Basic | |
|---|---|
Function GetPreviewBitmap( _ ByVal DocumentPath As System.String, _ ByRef BitmapByteArray As System.Object _ ) As System.Boolean | |
| C# | |
|---|---|
System.bool GetPreviewBitmap( System.string DocumentPath, out System.object BitmapByteArray ) | |
| JavaScript | |
|---|---|
GetPreviewBitmap( DocumentPath : String ) : { BitmapByteArray : Array, RetVal : Boolean } | |
| COM native C++ | |
|---|---|
HRESULT GetPreviewBitmap( BSTR DocumentPath, VARIANT* BitmapByteArray, VARIANT_BOOL* RetVal ) | |
| C++ | |
|---|---|
DSRESULT GetPreviewBitmap( const dsString& DocumentPath, dsByteArray* BitmapByteArray, bool* RetVal ) | |
Parameters
- DocumentPath
- Path and file name of the document's preview bitmap (.bmp)
- BitmapByteArray[out]
- Byte array of the preview bitmap
- RetVal[out] or Return Value
- True if successful, false if not
Binary data is organized into variable-length chunks. The maximum length of each chunk is 127 bytes.
IApplication Interface
IApplication Members
IApplication::GetPreviewBitmapFile Method
IApplication::GetPreviewBitmapBytes Method
IApplication::GetPreviewOfEntities Method
IDocumentExporter::ExportToBmp Method
IApplication Members
IApplication::GetPreviewBitmapFile Method
IApplication::GetPreviewBitmapBytes Method
IApplication::GetPreviewOfEntities Method
IDocumentExporter::ExportToBmp Method
DraftSight V1R3.0
Syntax