←Select platform

DrawImage(D2DBitmap,Rect,Double) Method

Summary

Draws the specified D2DBitmap to the size of the specified rectangle and opacity.

Syntax

C#
VB
C++
public void DrawImage(  
   Leadtools.Windows.D2drendering.D2DBitmap d2dBitmap, 
   Rect destRect, 
   double opacity 
) 
Public Overloads Sub DrawImage( _ 
   ByVal d2dBitmap As Leadtools.Windows.D2drendering.D2DBitmap, _ 
   ByVal destRect As Rect, _ 
   ByVal opacity As Double _ 
) 
public: 
void DrawImage(  
   Leadtools.Windows.D2drendering.D2DBitmap^ d2dBitmap, 
   Rect destRect, 
   double opacity 
) 

Parameters

d2dBitmap
Specifies the D2DBitmap to be drawn onto the surface.

destRect
Specifies the location and size of the drawn image.

opacity
A value between 0 and 1. Specifies an opacity value to apply to the image.

Remarks

This method draws the specified D2DBitmap to the size of the specified rectangle using the specified opacity.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Windows.D2DRendering Assembly
Click or drag to resize