BlendImage Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Overlays a specified bitmapped image on an image that already exists on the drawing surface, and displays the resulting overlayed image at a specified location (position) on the drawing surface.

Namespace:  Microsoft.SPOT.Presentation.Media
Assembly:  Microsoft.SPOT.TinyCore (in Microsoft.SPOT.TinyCore.dll)

Syntax

'Declaration
Public Sub BlendImage ( _
    source As Bitmap, _
    destinationX As Integer, _
    destinationY As Integer, _
    sourceX As Integer, _
    sourceY As Integer, _
    sourceWidth As Integer, _
    sourceHeight As Integer, _
    opacity As UShort _
)
public void BlendImage(
    Bitmap source,
    int destinationX,
    int destinationY,
    int sourceX,
    int sourceY,
    int sourceWidth,
    int sourceHeight,
    ushort opacity
)
public:
void BlendImage(
    Bitmap^ source, 
    int destinationX, 
    int destinationY, 
    int sourceX, 
    int sourceY, 
    int sourceWidth, 
    int sourceHeight, 
    unsigned short opacity
)
member BlendImage : 
        source:Bitmap * 
        destinationX:int * 
        destinationY:int * 
        sourceX:int * 
        sourceY:int * 
        sourceWidth:int * 
        sourceHeight:int * 
        opacity:uint16 -> unit 
public function BlendImage(
    source : Bitmap, 
    destinationX : int, 
    destinationY : int, 
    sourceX : int, 
    sourceY : int, 
    sourceWidth : int, 
    sourceHeight : int, 
    opacity : ushort
)

Parameters

  • destinationX
    Type: System. . :: . .Int32
    The upper-left horizontal position at which the overlayed image is to be displayed.
  • destinationY
    Type: System. . :: . .Int32
    The upper-left vertical position at which the overlayed image is to be displayed.
  • opacity
    Type: System. . :: . .UInt16
    The opacity of the bitmapped image when overlayed on the existing image. A value of 0 (zero) makes the bitmap completely opaque (not transparent at all); a value of 255 makes the bitmap completely transparent.

.NET Framework Security

See Also

Reference

DrawingContext Class

Microsoft.SPOT.Presentation.Media Namespace