public class IcoOptions extends ImageOptionsBase
Create custom ICO image files for application icons effortlessly with our API, empowering you to represent your software seamlessly. Our API supports PNG and BMP image frames with various bits per pixel values, ensuring versatility and compatibility for your icon creation needs.
| Constructor and Description |
|---|
IcoOptions()
Initializes a new instance of the
IcoOptions class with the ICO frame format equals to Png and
bitsPerPixel equals to 32. |
IcoOptions(IcoOptions options) |
IcoOptions(long format)
Initializes a new instance of the
IcoOptions class with the ICO frame format equals to [format] and
bitsPerPixel equals to 32. |
IcoOptions(long format,
int bitsPerPixel)
Initializes a new instance of the
IcoOptions class. |
| Modifier and Type | Method and Description |
|---|---|
int |
getBitsPerPixel()
Gets the bits-per-pixel value.
|
long |
getFormat()
Gets the ICO frame format.
|
void |
setBitsPerPixel(int value)
Sets the bits-per-pixel value.
|
void |
setFormat(long value)
Sets the ICO frame format.
|
deepClone, getBufferSizeHint, getExifData, getFullFrame, getMultiPageOptions, getPalette, getProgressEventHandler, getResolutionSettings, getSource, getVectorRasterizationOptions, getXmpData, isKeepMetadata, setBufferSizeHint, setExifData, setFullFrame, setKeepMetadata, setMultiPageOptions, setPalette, setProgressEventHandler, setResolutionSettings, setSource, setVectorRasterizationOptions, setXmpData, trySetMetadataclose, dispose, getDisposedpublic IcoOptions()
Initializes a new instance of the IcoOptions class with the ICO frame format equals to Png and
bitsPerPixel equals to 32.
public IcoOptions(IcoOptions options)
public IcoOptions(long format)
Initializes a new instance of the IcoOptions class with the ICO frame format equals to [format] and
bitsPerPixel equals to 32.
format - The ICO frame format.
Note that ICO image supports only FileFormat.Png and FileFormat.Bmp images as entries.public IcoOptions(long format,
int bitsPerPixel)
Initializes a new instance of the IcoOptions class.
format - The ICO frame format.
Note that ICO image supports only FileFormat.Png and FileFormat.Bmp images as entries.bitsPerPixel - The bits-per-pixel value.public final long getFormat()
Gets the ICO frame format.
public final void setFormat(long value)
Sets the ICO frame format.
value - the ICO frame format.public final int getBitsPerPixel()
Gets the bits-per-pixel value.
public final void setBitsPerPixel(int value)
Sets the bits-per-pixel value.
value - the bits-per-pixel value.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.