VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles.Ico Namespace / IconPage Class / GetMaskImage(EventHandler<ProgressEventArgs>) Method
Syntax Exceptions Remarks Requirements SeeAlso
In This Topic
GetMaskImage(EventHandler<ProgressEventArgs>) Method (IconPage)
In This Topic
Returns the mask image of this page.
Syntax

Parameters

progressDelegate
Progress delegate.

Return Value

The mask 1-bpp image associated with this IconPage object if image was loaded successfully; otherwise, null.
Exceptions
ExceptionDescription
Thrown if page has no mask image.
Remarks

This 1-bpp mask defines which pixels of source image are transparent. Pixel of mask image with value 1 means that the corresponding pixel of source image is transparent; pixel with value 0 means that pixel of source image is not transparent.

Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also