GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / SaveAsBMP Method / SaveAsBMP(Int32,String,Boolean) 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.
Set true to compress the bitmap pixels with the RLE compression scheme. Only available for 8 bpp bitmap.





In This Topic
SaveAsBMP(Int32,String,Boolean) Method
In This Topic
Saves a GdPicture image as a windows or OS/2 bitmap image.
Syntax
'Declaration
 
Public Overloads Function SaveAsBMP( _
   ByVal ImageID As Integer, _
   ByVal FilePath As String, _
   ByVal UseRLE As Boolean _
) As GdPictureStatus
public GdPictureStatus SaveAsBMP( 
   int ImageID,
   string FilePath,
   bool UseRLE
)
public function SaveAsBMP( 
    ImageID: Integer;
    FilePath: String;
    UseRLE: Boolean
): GdPictureStatus; 
public function SaveAsBMP( 
   ImageID : int,
   FilePath : String,
   UseRLE : boolean
) : GdPictureStatus;
public: GdPictureStatus SaveAsBMP( 
   int ImageID,
   string* FilePath,
   bool UseRLE
) 
public:
GdPictureStatus SaveAsBMP( 
   int ImageID,
   String^ FilePath,
   bool UseRLE
) 

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.
UseRLE
Set true to compress the bitmap pixels with the RLE compression scheme. Only available for 8 bpp bitmap.

Return Value

A member of the GdPictureStatus enumeration.
Remarks

This method requires the Image Documents component to run.

See Also