Solid Edge Framework Type Library
SaveAsImage Method
The file name of the saved file. The extension you specify determines the format of the saved file. You can specify .bmp (Windows Bitmap), .tif (TIFF), or .jpg (JPEG).
Specifies the width of the file.
Specifies the height of the file.
Specifies the units per pixel of the file.
Specifies the color depth in bits of the file.
For binary files, specifies whether the file's black and white values are inverted.
For binary files, specifies whether the file's black and white values are inverted.
Description
Saves the current view as an image.
Syntax
Visual Basic
Public Sub SaveAsImage( _
   ByVal Filename As String, _
   Optional ByVal Width As Variant, _
   Optional ByVal Height As Variant, _
   Optional ByVal AltViewStyle As Variant, _
   Optional ByVal Resolution As Variant, _
   Optional ByVal ColorDepth As Variant, _
   Optional ByVal ImageQuality As SeImageQualityType = 0, _
   Optional ByVal Invert As Boolean = False _
) 
Parameters
Filename
The file name of the saved file. The extension you specify determines the format of the saved file. You can specify .bmp (Windows Bitmap), .tif (TIFF), or .jpg (JPEG).
Width
Specifies the width of the file.
Height
Specifies the height of the file.
AltViewStyle
Resolution
Specifies the units per pixel of the file.
ColorDepth
Specifies the color depth in bits of the file.
ImageQuality
ValueDescription
seImageQualityHighMedium quality JPG/TIFF Image
seImageQualityLowLow quality JPG/TIFF Image
seImageQualityMediumMedium quality JPG/TIFF Image
For binary files, specifies whether the file's black and white values are inverted.
Invert
For binary files, specifies whether the file's black and white values are inverted.
See Also

View Object  | View Members

Send comments on this topic.