www.gnostice.com 

DrawImageMemC Method

Top  Previous  Next

The DrawImageMemC property draws an image (from memory) in the table.

 

Syntax

[VC++]

void DrawImageMemC(long ColumnNo, double Width, double Height, long ImageBuf, long BufSize, long ImageType);

 

[C#]

public abstract new void DrawImageMemC ( System.Int32 ColumnNo , System.Double Width , System.Double Height , System.Int32 ImageBuf , System.Int32 BufSize , eDocEngineX.TxgtImageType ImageType )

 

[VB]

Sub DrawImageMemC(ColumnNo As Long, Width As Double, Height As Double, ImageBuf As Long, BufSize As Long, ImageType As TxgtImageType)

 

 

 

 

 

 

Parameters

 

 

ColumnNo

Specifies the column number where the image is to be inserted.

 

 

 

Width

Specifies the width of the image.

 

 

 

Height

Specifies the height of the image.

 

       

 

ImageBuf

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

 

 

BufSize

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 Height and Column.

 

 

 

 

See Also

 

 

BeginTable, EndTable, DrawImageC, NewRow