Gets the specified preview bitmap of a document and saves it as a Windows bitmap file (.bmp) using the specified filename.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function GetPreviewBitmapFile( _
ByVal DocumentPath As System.String, _
ByVal ConfigName As System.String, _
ByVal BitMapFile As System.String _
) As System.Boolean |
Visual Basic (Usage) | |
---|
Dim instance As ISldWorks
Dim DocumentPath As System.String
Dim ConfigName As System.String
Dim BitMapFile As System.String
Dim value As System.Boolean
value = instance.GetPreviewBitmapFile(DocumentPath, ConfigName, BitMapFile) |
Parameters
- DocumentPath
- Path and file name of the SOLIDWORKS document whose preview bitmap (.bmp) you want to save
- ConfigName
- Name of the configuration
- BitMapFile
Filename for the preview
Return Value
True if the preview bitmap (.bmp) is saved, false if not
Example
See Also
Availability
SOLIDWORKS 2008 Sp2, Revision Number 16.2