Solid Edge Framework Type Library
OnFileSaveAsImageUI Method
Specifies the name of the file.
Specifies the name to be appended to the title.
Specifies the width of the image.
Specifies the height of the image.
A Member of the SeImageQualityType constant set that specifies whether the image quality is low, medium, or high.
Description
Occurs before the user interface is created for the file saved as image by Solid Edge.
Syntax
Visual Basic
Public Function OnFileSaveAsImageUI( _
   ByRef Filename As String, _
   ByRef AppendToTitle As String, _
   ByRef Width As Long, _
   ByRef Height As Long, _
   ByRef ImageQuality As SeImageQualityType _
) As HResult
Parameters
Filename
Specifies the name of the file.
AppendToTitle
Specifies the name to be appended to the title.
Width
Specifies the width of the image.
Height
Specifies the height of the image.
ImageQuality
ValueDescription
seImageQualityHighMedium quality JPG/TIFF Image
seImageQualityLowLow quality JPG/TIFF Image
seImageQualityMediumMedium quality JPG/TIFF Image
A Member of the SeImageQualityType constant set that specifies whether the image quality is low, medium, or high.
Remarks
If you do not want to handle this event, return E_NOTIMPL so that Solid Edge proceeds as if no application was listening to the event and displays its dialog box. If you want to cancel the command, return an S_OK (or S_FALSE) while returning all the strings as NULL-strings so that Solid Edge proceeds to cancel the command without displaying its dialog box. If you return any other error, Solid Edge aborts the command just as it does when an error is received from one of its methods. If you return S_OK with valid output strings, Solid Edge proceeds to use the strings accordingly.
See Also

ISEFileUIEvents Object  | ISEFileUIEvents Members

Send comments on this topic.