CNiImage::Transparent

CNi

Class
CNiImage::
Transparent
Base ClassesData ItemsConstructorsDestructorsFunctionsGo to hierarchy chart    Prev page: TileNext page: TransparentColor    
Public Data Item Declared in:
NiImage.h

'Declaration' icon -- Shortcut to top of page. Declaration

bool Transparent;

'Description' icon -- Shortcut to top of page. Description

Specifies if the image has a transparent color.

Notes:

1. You can use the Transparent and TransparentColor properties to create transparent regions within a bitmap, icon, or metafile. When the control draws the image, it does not draw any pixels that are the color of the Transparent color. Thus, whatever graphics are underneath the image show through.

2. When the control is printed, it ignores the transparent property in some ActiveX control containers.

3. This property does not apply to CNiImage objects representing captions.

'See Also' icon -- Shortcut to top of page. See Also