GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / SaveAsICO Method / SaveAsICO(Int32,String,GdPictureColor) Method
GdPicture image identifier.
A string that contains the name of the file to which to save the image.
This parameter defines the transparent color of the ICON. A suitable color value can be obtained by using the ARGB() method.





In This Topic
SaveAsICO(Int32,String,GdPictureColor) Method
In This Topic
Saves a GdPicture image as a window icon image format specifying a color to set as transparent.
Syntax
'Declaration
 
Public Overloads Function SaveAsICO( _
   ByVal ImageID As Integer, _
   ByVal FilePath As String, _
   ByVal TransparentColor As GdPictureColor _
) As GdPictureStatus
public function SaveAsICO( 
    ImageID: Integer;
    FilePath: String;
    TransparentColor: GdPictureColor
): GdPictureStatus; 
public function SaveAsICO( 
   ImageID : int,
   FilePath : String,
   TransparentColor : GdPictureColor
) : GdPictureStatus;
public: GdPictureStatus SaveAsICO( 
   int ImageID,
   string* FilePath,
   GdPictureColor TransparentColor
) 
public:
GdPictureStatus SaveAsICO( 
   int ImageID,
   String^ FilePath,
   GdPictureColor TransparentColor
) 

Parameters

ImageID
GdPicture image identifier.
FilePath
A string that contains the name of the file to which to save the image.
TransparentColor
This parameter defines the transparent color of the ICON. A suitable color value can be obtained by using the ARGB() method.

Return Value

A member of the GdPictureStatus enumeration.
See Also