Sets the transparent color of an existing image element.
Visual Basic |
---|
Public Sub ElementSetTransparentColor( _ ByVal elementHandle As Long, _ ByVal clr As OLE_COLOR _ ) |
- elementHandle
- The handle of an element returned by the ElementCreate method.
- clr
- The RGB (Red Green Blue) color value of the element's transparent color.
The transparent color is the color in the image that will show through to what is underneath the object.
White [RGB(255,255,255)] is the default TransparentColor