ImageIsStencilMask Property

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
Gets or sets a value indicating whether this instance is stencil mask. The instance should be a monochrome image in which each sample is specified by a single bit. However, instead of being painted in opaque black and white, the image mask is treated as a stencil mask that is partly opaque and partly transparent. Sample values in the image do not represent black and white pixels; rather, they designate places on the page that should either be marked with the current colour or masked out (not marked at all). Areas that are masked out retain their former contents. The effect is like applying paint in the current colour through a cut-out stencil, which lets the paint reach the page in some places and masks it out in others.

Namespace:  Apitron.PDF.Kit.FixedLayout.Resources.XObjects
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: (

public bool IsStencilMask { get; set; }

Property Value

Type: Boolean
true if this instance is stencil mask; otherwise, false.
See Also