Saves a GdPicture image as Window icon image format.
public GdPictureStatus SaveAsICO( int ImageID, String FilePath, IconSize IconSize );
Public Function SaveAsICO( ByVal ImageID As Integer, ByVal FilePath As String, ByVal IconSize As IconSize ) As GdPictureStatus
|
Parameters |
Description |
|
ImageID |
GdPicture Image Identifier. |
|
FilePath |
The complete file path to save a GdPicture image. |
|
IconSize |
A member of the IconSize enumeration. The icons size. |
A member of the GdPictureStatus enumeration.
How to convert BMP file to Window icon file
Dim ImageID As Integer ImageID = oGdPictureImaging.CreateGdPictureImageFromFile("image.bmp") If ImageID <> 0 Then oGdPictureImaging.SaveAsICO (ImageID, "icon.ico") oGdPictureImaging.ReleaseGdPictureImage (ImageID) End If
|
What do you think about this topic? Send feedback!
|
|
Copyright (c) 2009-2011 www.gdpicture.com. All rights reserved.
|