GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / SaveAsBMP Method / SaveAsBMP(Int32,String) 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
SaveAsBMP(Int32,String) 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 _
) As GdPictureStatus
public GdPictureStatus SaveAsBMP( 
   int ImageID,
   string FilePath
)
public function SaveAsBMP( 
    ImageID: Integer;
    FilePath: String
): GdPictureStatus; 
public function SaveAsBMP( 
   ImageID : int,
   FilePath : String
) : GdPictureStatus;
public: GdPictureStatus SaveAsBMP( 
   int ImageID,
   string* FilePath
) 
public:
GdPictureStatus SaveAsBMP( 
   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.
See Also