Click or drag to resize

ImageSetMask Method (Obj)

Set a Color Key Mask.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetMask(
	Obj mask
)

Parameters

mask
Type: pdftron.SDFObj
is an Cos/SDF Array specifying a range of colors to be masked out. Samples in the image that fall within this range are not painted, allowing the existing background to show through. The effect is similar to that of the video technique known as chroma-key. For details of the Array format please refer to section 4.8.5 'Color Key Masking' in PDF Reference Manual.
Remarks
the current document takes the ownership of the given SDF object.
See Also