[]
Saves the image into a Stream in ICO format.
public void SaveAsIco(Stream stream, Rectangle? clipRect = null, IcoFrameEncoding encoding = IcoFrameEncoding.Png)
Public Sub SaveAsIco(stream As Stream, Optional clipRect As Rectangle? = Nothing, Optional encoding As IcoFrameEncoding = IcoFrameEncoding.Png)
Type | Name | Description |
---|---|---|
Stream | stream | The output stream. |
Rectangle? | clipRect | Clipping rectangle of the image to be saved. |
IcoFrameEncoding | encoding | Encoding of the frame image. |
Saves the image into a file in ICO format.
public void SaveAsIco(string path, Rectangle? clipRect = null, IcoFrameEncoding encoding = IcoFrameEncoding.Png)
Public Sub SaveAsIco(path As String, Optional clipRect As Rectangle? = Nothing, Optional encoding As IcoFrameEncoding = IcoFrameEncoding.Png)
Type | Name | Description |
---|---|---|
string | path | The output file path. |
Rectangle? | clipRect | Clipping rectangle of the image to be saved. |
IcoFrameEncoding | encoding | Encoding of the frame image. |