Xojo Developer Conference
25/27th April 2018 in Denver.
MBS Xojo Conference
6/7th September 2018 in Munich, Germany.

Platforms to show: All Mac Windows Linux Cross-Platform

Next items

DynaPDFTableMBS.AddColumn(left as boolean, width as Double) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Adds a column to the table.
Notes: Also check the dynapdf manual on the tblAddColumn function.

See also AddColumn function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.AddRow(height as Double = 0.0) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Adds a row with given height.
Notes: Also check the dynapdf manual on the tblAddRow function.

See also AddRow function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.AddRows(count as UInt32, height as Double) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Adds a couple of rows with given height.
Notes: Also check the dynapdf manual on the tblAddRows function.

See also AddRows function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.ClearColumn(Col as Integer, Types as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.2 Yes Yes Yes Yes No
Function: The function deletes the content in the specified column in all rows.
Notes: The paramter Types is described in ClearContent() below.

See also ClearColumn function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.ClearContent(Types as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Clears content of table.
Notes:
See kdc constants for possible flags.
Also check the dynapdf manual on the tblClearContent function.

See also ClearContent function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.ClearRow(Row as Integer, Types as Integer)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.2 Yes Yes Yes Yes No
Function: The function deletes the content in the specified row.
Notes: The paramter Types is described in ClearContent().

See also ClearRow function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.Constructor
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: The private constructor.

Feedback, Comments & Corrections

DynaPDFTableMBS.DeleteColumn(column as UInt32)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Deletes the column.
Notes: Also check the dynapdf manual on the tblDeleteCol function.

Feedback, Comments & Corrections

DynaPDFTableMBS.DeleteRow(row as UInt32)
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Deletes the row with the given index.
Notes: Also check the dynapdf manual on the tblDeleteRow function.

See also DeleteRow function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.DeleteRows
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Deletes all rows.
Notes: Also check the dynapdf manual on the tblDeleteRows function.

See also DeleteRows function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.DrawTable(x as Double, y as Double, MaxHeight as Double = 0.0) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Draws the table at the given position into the PDF:
Notes: Also check the dynapdf manual on the tblDrawTable function.

See also DrawTable function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.GetFirstRow as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.1 Yes Yes Yes Yes No
Function: Queries first row from last draw operation.

See also GetFirstRow function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.GetFlags(Row as Integer, Column as Integer) as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 15.2 Yes Yes Yes Yes No
Function: Queries flag for a cell, a column or a row.
Notes:
If Row is -1, only column flags are returned. If Column is -1, the row flags are returned for given row.
Also check the dynapdf manual on the tblGetFlags function.

See also GetFlags function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.GetNextHeight(MaxHeight as Double, byref NextRow as Integer) as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.1 Yes Yes Yes Yes No
Function: Queries the next row.
Example:
dim pdf as new DynaPDFMBS
call pdf.CreateNewPDF(nil)
call pdf.Append

// create dummy table with 20 rows, 1 column and 500 points width. 20 points per row by default.
dim table as DynaPDFTableMBS = pdf.CreateTable(20, 1, 500.0, 20.0)

// fill in dummy data
for i as Integer = 1 to 20
dim rowNum as Integer = table.AddRow
call table.SetCellText(rowNum, 0, pdf.ktaLeft, table.kcoCenter, str(i))
next

// and do some calculations
dim nextrow as Integer
dim h as Double = table.GetNextHeight(0, nextrow)

MsgBox str(h)+" with no limit."

dim h2 as Double = table.GetNextHeight(200, nextrow)

MsgBox str(h2)+" with limit of 200 and rows till "+str(nextrow-1)

break
Notes:
If MaxHeight is zero, returns the height of table.
If MaxHeight is the height of space available, plugin calculates the effective height of table and which row would be the next one.
Returns negative number on error.

See also GetNextHeight function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.GetNextRow as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.1 Yes Yes Yes Yes No
Function: Queries next row of last draw operation.

See also GetNextRow function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.GetNumCols as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.1 Yes Yes Yes Yes No
Function: Queries number of columns of last draw operation.

See also GetNumCols function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.GetNumRows as Integer
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.1 Yes Yes Yes Yes No
Function: Queries number of rows of last draw operation.

See also GetNumRows function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.GetTableHeight as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Queries the table height.
Notes: Also check the dynapdf manual on the tblGetTableHeight function.

See also GetTableHeight function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.GetTableWidth as Double
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Calculates table width.
Notes: Also check the dynapdf manual on the tblGetTableWidth function.

See also GetTableWidth function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.HaveMore as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 13.1 Yes Yes Yes Yes No
Function: Whether there are more rows to draw.
Notes: If you draw a table, you can loop and fill pages until the whole table is drawn.

See also HaveMore function in DynaPDF manual.

Feedback, Comments & Corrections

DynaPDFTableMBS.SetBackColor(Row as Integer, Column as Integer, channels() as Integer, ExtColorSpace as Integer = 0, ColorSpaceHandle as Integer = 0) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Sets the back color of the table, a row or cells.
Example:
dim pdf as DynaPDFMBS // your PDF environment
dim tbl as DynaPDFTableMBS = pdf.CreateTable(3, 3, 500.0, 20.0) // make some table

const allRows = -1
const allColumns = -1

// add a few rows
rowNum = tbl.AddRow(-1.0)
rowNum = tbl.AddRow(-1.0)
rowNum = tbl.AddRow(-1.0)
rowNum = tbl.AddRow(-1.0)

// row 0 in 100% Cyan
call tbl.SetBackColor(0, allColumns, array(255,0,0,0), pdf.kcsDeviceCMYK)
// row 1 in 100% Cyan
call tbl.SetBackColor(1, allColumns, array(0, 255, 0, 0), pdf.kcsDeviceCMYK)
// row 2 in 100% Cyan
call tbl.SetBackColor(2, allColumns, array(0, 0, 255, 0), pdf.kcsDeviceCMYK)
// row 3 in RGB red with 50% transparency
call tbl.SetBackColor(3, allColumns, array(255, 0, 0))
Notes:
Default is none (transparent)
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Also check the dynapdf manual on the tblSetColorEx function.

Pass an integer for each channel with 0 to 255.

See also:

Feedback, Comments & Corrections

DynaPDFTableMBS.SetBackColor(Row as Integer, Column as Integer, paramarray channels as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Sets the back color of the table, a row or cells.
Example:
dim pdf as DynaPDFMBS // your PDF environment
dim tbl as DynaPDFTableMBS = pdf.CreateTable(3, 3, 500.0, 20.0) // make some table

// now fill all rows and columns with RGB red specified by integer values
const allRows = -1
const allColumns = -1
call tbl.SetBackColor(allRows, allColumns, 255, 0, 0)
Notes:
Default is none (transparent)
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Also check the dynapdf manual on the tblSetColorEx function.

Pass an integer for each channel with 0 to 255.

See also:

Feedback, Comments & Corrections

DynaPDFTableMBS.SetBackColorFloat(Row as Integer, Column as Integer, channels() as Double, ExtColorSpace as Integer = 0, ColorSpaceHandle as Integer = 0) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Sets the back color of the table, a row or cells.
Example:
dim pdf as DynaPDFMBS // your PDF environment
dim tbl as DynaPDFTableMBS = pdf.CreateTable(3, 3, 500.0, 100.0) // make some table

const allRows = -1
const allColumns = -1

// add a few rows
rowNum = tbl.AddRow(-1.0)
rowNum = tbl.AddRow(-1.0)
rowNum = tbl.AddRow(-1.0)
rowNum = tbl.AddRow(-1.0)

// row 0 in 100% Cyan
call tbl.SetBackColorFloat(0, allColumns, array(1.0, 0.0, 0.0, 0.0), pdf.kcsDeviceCMYK)
// row 1 in 100% Cyan
call tbl.SetBackColorFloat(1, allColumns, array(0.0, 1.0, 0.0, 0.0), pdf.kcsDeviceCMYK)
// row 2 in 100% Cyan
call tbl.SetBackColorFloat(2, allColumns, array(0.0, 0.0, 1.0, 0.0), pdf.kcsDeviceCMYK)
// row 3 in RGB red
call tbl.SetBackColorFloat(3, allColumns, array(1.0, 0.0, 0.0))
Notes:
Default is none (transparent)
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Also check the dynapdf manual on the tblSetColorEx function.

Pass a double value for each channel with range 0.0 to 1.0.

See also:

Feedback, Comments & Corrections

DynaPDFTableMBS.SetBackColorFloat(Row as Integer, Column as Integer, paramarray channels as Double) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Sets the back color of the table, a row or cells.
Example:
dim pdf as DynaPDFMBS // your PDF environment
dim tbl as DynaPDFTableMBS = pdf.CreateTable(3, 3, 500.0, 20.0) // make some table

// now fill all rows and columns with RGB red specified by double values
const allRows = -1
const allColumns = -1
call tbl.SetBackColorFloat(allRows, allColumns, 1.0, 0.0, 0.0)
Notes:
Default is none (transparent)
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Also check the dynapdf manual on the tblSetColorEx function.

Pass a double value for each channel with range 0.0 to 1.0.

See also:

Feedback, Comments & Corrections

DynaPDFTableMBS.SetBackColorValue(Row as Integer, Column as Integer, TPDFColorSpace as Integer, ColorValue as UInt32) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.5 Yes Yes Yes Yes No
Function: Sets the back color of the table, a row or cells.
Example:
dim pdf as DynaPDFMBS // your PDF environment
dim tbl as DynaPDFTableMBS = pdf.CreateTable(3, 3, 500.0, 20.0) // make some table

// now fill all rows and columns with RGB red specified by RGB() call
const allRows = -1
const allColumns = -1

dim c as Integer = DynaPDFMBS.RGB(255, 0, 0)
call tbl.SetBackColorValue(allRows, allColumns, DynapdfMBS.kcsDeviceRGB, c)
Notes:
Default is none (transparent)
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Also check the dynapdf manual on the tblSetColor function.

Pass a color space and a matching color value.
For example kcsDeviceRGB and RGB(r,g,b), kcsDeviceCMYK and CMYK(c,m,y,k) or kcsDeviceGray with gray color.

Feedback, Comments & Corrections

DynaPDFTableMBS.SetBorderColor(Row as Integer, Column as Integer, channels() as Integer, ExtColorSpace as Integer = 0, ColorSpaceHandle as Integer = 0) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Sets the border color of the table, a row or cells.
Notes:
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Also check the dynapdf manual on the tblSetColorEx function.

Pass an integer for each channel with 0 to 255.

See also:

Feedback, Comments & Corrections

DynaPDFTableMBS.SetBorderColor(Row as Integer, Column as Integer, paramarray channels as Integer) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Sets the border color of the table, a row or cells.
Notes:
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Also check the dynapdf manual on the tblSetColorEx function.

Pass an integer for each channel with 0 to 255.

See also:

Feedback, Comments & Corrections

DynaPDFTableMBS.SetBorderColorFloat(Row as Integer, Column as Integer, channels() as Double, ExtColorSpace as Integer = 0, ColorSpaceHandle as Integer = 0) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Sets the border color of the table, a row or cells.
Notes:
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Also check the dynapdf manual on the tblSetColorEx function.

Pass a double value for each channel with range 0.0 to 1.0.

See also:

Feedback, Comments & Corrections

DynaPDFTableMBS.SetBorderColorFloat(Row as Integer, Column as Integer, paramarray channels as Double) as boolean
Type Topic Plugin Version macOS Windows Linux Console & Web iOS
method DynaPDF MBS DynaPDF Plugin 12.4 Yes Yes Yes Yes No
Function: Sets the border color of the table, a row or cells.
Notes:
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Also check the dynapdf manual on the tblSetColorEx function.

Pass a double value for each channel with range 0.0 to 1.0.

See also:

Feedback, Comments & Corrections

Next items

The items on this page are in the following plugins: MBS DynaPDF Plugin.




Links
MBS Xojo PDF Plugins