www.gnostice.com 

BeginTable Method

Top  Previous  Next

This method is invoked to begin a table. 

 

 

 

 

Syntax

 

 

[VC++]

CgtColumnListX BeginTable(double X, double Y, long NoColumns);

 

[C#]

public abstract new eDocEngineX.gtColumnListX BeginTable ( System.Double X , System.Double Y , System.Int32 NoColumns )

 

[VB]

Function BeginTable(X As Double, Y As Double, NoColumns As Long) As gtColumnListX

 

 

 

 

 

 

Parameters

 

 

XPoints

[in] Specifies the x-coordinate of the upper-left corner of the table.

 

 

 

YPoints

[in] Specifies the y-coordinate of the upper-left corner of the table.

 

 

 

NoColums

[in] Specifies the number of columns in the table.

 

 

 

 

Return Value

 

 

An object of gtColumnListX which contains the column details of the table.

 

 

 

 

Remarks

 

 

The BeginTable method begins a table creation process. This method returns an object of gtColumnListX class. Using this object, various properties of the columns like alignment, title, width, etc can be set. Rows in the table are added by calling the NewRow or NewRowH methods. Text and graphics can be added to the table by using  DrawImageC and TextOutC methods. The table is ended by calling EndTable.

 

 

 

 

Example Code

 

 

For an example code, see Table Formatting.

 

 

 

 

See Also

 

 

gtColumnListX, NewRow, NewRowH, EndTable, TextOutC, DrawImageC