ImageGear Professional v18.2 > API Reference Guide > Core Component API Reference > Core Component Objects > IGPage Object > IGPage Methods > AddAlpha Method |
Adds a new alpha channel to the IGPage Object. The position where to put new alpha channel is specified via method's parameter and can be within the [0..AlphaCount Property] range. If there is alpha channel stored at the Position already, the method's behavior depends on the bShift parameter. If this parameter is True, then old alpha is shifted up along with alphas stored after it (if they exist). If this parameter is False, then old alpha channel is replaced with the new one. Either way IGPage Object representing alpha channel is duplicated and its copy is stored in the collection, not the original object.
The entire IGPage Object is duplicated including image data. |
AddAlpha (pNewAlpha As IGPage, Position As long, bShift As
Boolean)
Name | Description |
---|---|
pNewAlpha | IGPage Object representing the alpha channel to be added. |
Position | Position where to put new alpha channel. |
bShift | Indicates whether alpha channels should be shifted. |
N/A
All
Core