Class IcnsReaderOptions
Options for reading ICNS.
public sealed record IcnsReaderOptions : ReaderOptions, IEquatable<ReaderOptions>, IEquatable<IcnsReaderOptions>
- Inheritance
-
IcnsReaderOptions
- Implements
- Inherited Members
Examples
// Pick an entry by its place among the file's image entries.
using Raster second = Raster.Load("app.icns", options: new IcnsReaderOptions { Entry = 1 });
Properties
Entry
Gets the entry Load returns, by its index among the file's image entries (Entries), or null (the default) for the best: the largest, then the deepest, 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?