GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / SaveAsICO Method / SaveAsICO(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
SaveAsICO(Int32,String) Method
In This Topic
Saves a GdPicture image as a window icon image.
Syntax
'Declaration
 
Public Overloads Function SaveAsICO( _
   ByVal ImageID As Integer, _
   ByVal FilePath As String _
) As GdPictureStatus
public GdPictureStatus SaveAsICO( 
   int ImageID,
   string FilePath
)
public function SaveAsICO( 
    ImageID: Integer;
    FilePath: String
): GdPictureStatus; 
public function SaveAsICO( 
   ImageID : int,
   FilePath : String
) : GdPictureStatus;
public: GdPictureStatus SaveAsICO( 
   int ImageID,
   string* FilePath
) 
public:
GdPictureStatus SaveAsICO( 
   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 requires the Image Documents component to run.

See Also