www.gnostice.com 

DrawImageMemR Method

Top  Previous  Next

The DrawImageMemR method draws an image (from memory) in the rectangle.

 

 

 

 

Syntax

 

 

[VC++]

void DrawImageMemR(double Left, double Top, double Right, double Bottom, long ImageBuf, long BufSize, long ImageType);

 

[C#]

public abstract new void DrawImageMemR ( System.Double Left , System.Double Top , System.Double Right , System.Double Bottom , System.Int32 ImageBuf , System.Int32 BufSize , eDocEngineX.TxgtImageType ImageType )

 

[VB]

Sub DrawImageMemR(Left As Double, Top As Double, Right As Double, Bottom As Double, ImageBuf As Long, BufSize As Long, ImageType As TxgtImageType)

 

 

 

 

 

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.

 

 

 

ImageBuf

The starting address of the memory where image data is stored.

 

 

 

ImageBufSize

The size of the buffer.

 

 

 

ImageType

The type of the image.

 

 

 

 

Remarks

 

 

The DrawImageMemC method is used to render an image (from memory) in a table. The image is inserted into the table in the current row at the column specified by ColumnNo. The image types like Bitmap, JPEG, Metafile and Icon can be inserted using this method.

 

 

 

 

Example Code

 

 

For an example code, see Draw Image.