Visual Basic (Declaration) | |
---|---|
Public Sub Underlay( _ ByVal underlayImage As RasterImage, _ ByVal flags As RasterImageUnderlayFlags _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public void Underlay( RasterImage underlayImage, RasterImageUnderlayFlags flags ) |
Managed Extensions for C++ | |
---|---|
public: void Underlay( RasterImage* underlayImage, RasterImageUnderlayFlags flags ) |
C++/CLI | |
---|---|
public: void Underlay( RasterImage^ underlayImage, RasterImageUnderlayFlags flags ) |
Parameters
- underlayImage
- The image that will be used as the underlying image. This is the image that appears to be on bottom and is grayscaled as it is combined with the target image.
- flags
- Indicators of how the underlying image is to be positioned.
This is most effective when the underlying image is a filtered one, such as an embossed image.
This method changes the colors of the underlay to grayscale as it combines the images. It updates this RasterImage, leaving the underlayImage unchanged. underlayImage can either be stretched or tiled to fill the image, as shown in the following illustration:
For more information, refer to Processing an Image.
For more information, refer to Applying Artistic Effects.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family