GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / SaveAsXPM Method
GdPicture image identifier.
A string that contains the name of the file to which to save the image. Can be an empty string. If empty, prompts the user to select a file. You can subsequently use the GetLastPath() method to retrieve the path of the selected file.





In This Topic
SaveAsXPM Method (GdPictureImaging)
In This Topic
Saves a GdPicture image as x11 pixmap image.
Syntax
'Declaration
 
Public Function SaveAsXPM( _
   ByVal ImageID As Integer, _
   ByVal FilePath As String _
) As GdPictureStatus
public GdPictureStatus SaveAsXPM( 
   int ImageID,
   string FilePath
)
public function SaveAsXPM( 
    ImageID: Integer;
    FilePath: String
): GdPictureStatus; 
public function SaveAsXPM( 
   ImageID : int,
   FilePath : String
) : GdPictureStatus;
public: GdPictureStatus SaveAsXPM( 
   int ImageID,
   string* FilePath
) 
public:
GdPictureStatus SaveAsXPM( 
   int ImageID,
   String^ FilePath
) 

Parameters

ImageID
GdPicture image identifier.
FilePath
A string that contains the name of the file to which to save the image. Can be an empty string. If empty, prompts the user to select a file. You can subsequently use the GetLastPath() method to retrieve the path of the selected file.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
This method works only with 8-bit and 24-bit images.

This method requires the Image Documents component to run.

See Also