Table of Contents

Class IcoReaderOptions

Namespace
Egami.Formats.Ico
Assembly
Egami.dll

Options for reading ICO and CUR.

public sealed record IcoReaderOptions : ReaderOptions, IEquatable<ReaderOptions>, IEquatable<IcoReaderOptions>
Inheritance
IcoReaderOptions
Implements
Inherited Members

Examples

// Pick an entry by its place in the file's directory.
using Raster second = Raster.Load("app.ico", options: new IcoReaderOptions { Entry = 1 });

Properties

Entry

Gets the entry Load returns, by its index in the file's directory, or null (the default) for the best: the largest, then the deepest (a PNG entry counts as 32 bits), then the first. With MinimumSize and no entry named, the smallest entry at least that big is chosen before any reduction.

public int? Entry { get; init; }

Property Value

int?