www.gnostice.com 

DrawImageRI Method

Top  Previous  Next

The DrawImageRI method is used to draw an image at a position specified by rectangle.

 

 

 

 

Syntax

 

 

[VC++]

void DrawImageRI(double Left, double Top, double Right, double Bottom, long Index);

 

[C#]

public abstract new void DrawImageRI ( System.Double Left , System.Double Top , System.Double Right , System.Double Bottom , System.Int32 Index )

 

[VB]

Sub DrawImageRI(Left As Double, Top As Double, Right As Double, Bottom As Double, Index As Long)

 

 

 

 

 

Parameters

 

 

Left

[in] Specifies upper-left corner of the image.

 

 

Top

[in] Specifies upper-left corner of the image.

 

 

 

Right

[in] Specifies lower-right corner of the image.

 

       

 

Bottom

[in] Specifies lower-right corner of the image.

 

 

Index

The index of the image, as returned by AddImageAsResource.

 

 

 

Example Code

 

 

For an example code, see Draw Image.