Class IcoOptions

Class IcoOptions

Namespace: Aspose.Imaging.ImageOptions
Assembly: Aspose.Imaging.dll (25.2.0)

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.

public class IcoOptions : ImageOptionsBase, IDisposable, IHasXmpData, IHasMetadata, ICloneable

Inheritance

objectDisposableObjectImageOptionsBaseIcoOptions

Implements

IDisposable, IHasXmpData, IHasMetadata, ICloneable

Inherited Members

ImageOptionsBase.Clone(), ImageOptionsBase.ReleaseManagedResources(), ImageOptionsBase.KeepMetadata, ImageOptionsBase.XmpData, ImageOptionsBase.Source, ImageOptionsBase.Palette, ImageOptionsBase.ResolutionSettings, ImageOptionsBase.VectorRasterizationOptions, ImageOptionsBase.BufferSizeHint, ImageOptionsBase.MultiPageOptions, ImageOptionsBase.FullFrame, ImageOptionsBase.ProgressEventHandler, DisposableObject.Dispose(), DisposableObject.ReleaseManagedResources(), DisposableObject.ReleaseUnmanagedResources(), DisposableObject.VerifyNotDisposed(), DisposableObject.Disposed, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Constructors

IcoOptions()

Initializes a new instance of the Aspose.Imaging.ImageOptions.IcoOptions class with the ICO frame format equals to Png and bitsPerPixel equals to 32.

public IcoOptions()

IcoOptions(FileFormat, int)

Initializes a new instance of the Aspose.Imaging.ImageOptions.IcoOptions class.

public IcoOptions(FileFormat format, int bitsPerPixel = 32)

Parameters

format FileFormat

The ICO frame format. Note that ICO image supports only Aspose.Imaging.FileFormat.Png and Aspose.Imaging.FileFormat.Bmp images as entries.

bitsPerPixel int

The bits-per-pixel value.

Properties

BitsPerPixel

Gets or sets the bits-per-pixel value.

public int BitsPerPixel { get; set; }

Property Value

int

Format

Gets or sets the ICO frame format.

public FileFormat Format { get; set; }

Property Value

FileFormat