www.gnostice.com 

DrawImageC Method

Top  Previous  Next

The DrawImageC method draws an image in a table.

 

 

 

 

Syntax

 

 

[VC++]

void DrawImageC(long ColumnNo, double Width, double Height, long ImageHandle, long ImageType);

 

[C#]

public abstract new void DrawImageC ( System.Int32 ColumnNo , System.Double Width , System.Double Height , System.Int32 ImageHandle , eDocEngineX.TxgtImageType ImageType )

 

[VB]

Sub DrawImageC(ColumnNo As Long, Width As Double, Height As Double, ImageHandle 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.

 

 

ImageHandle

The handle of the image.

 

 

ImageType

The type of the image.

 

 

 

 

Remarks

 

 

The DrawImageC method is used to render an image 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, Metafile and Icon can be inserted using this method. To insert JPEG images, you have to use DrawImageMemC method.

 

 

 

 

Example Code

 

 

For an example code, see TableFormatting.

 

 

 

 

See Also

 

 

BeginTable, EndTable, NewRow, TextOutC