Platforms to show: All Mac Windows Linux Cross-Platform
Back to DynaPDFTableMBS class.
DynaPDFTableMBS.SetCellPicture(Row as Integer, Column as Integer, ForeGround as boolean, HAlign as Integer, VAlign as Integer, Width as double, Height as Double, Pic as Picture) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 20.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns true on success.
DynaPDFTableMBS.SetCellSpacing(Row as Integer, Column as Integer, left as Double, top as Double, right as Double, bottom as Double) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is zero.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Some examples using this method:
DynaPDFTableMBS.SetCellTable(Row as Integer, Column as Integer, HAlign as Integer, VAlign as Integer, SubTable as DynaPDFTableMBS) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
A sub table is always a foreground object that has a strong width and height. That means, if the cell is not large enough then it will be expanded.
Note that the function creates no copy of the table. Do not delete the sub table when it is used by another table.
In programming languages which use reference counting like Xojo, it is important to delete the tables in right order. Delete first the tables which contain references to sub tables. Finally, delete the sub tables.
If the function succeeds the return value is true. If the function fails the return value is false.
See dynapdf_help.pdf for details.
See also SetCellTable function in DynaPDF manual.
DynaPDFTableMBS.SetCellTemplate(Row as Integer, Column as Integer, ForeGround as boolean, HAlign as Integer, VAlign as Integer, TmplHandle as Integer, Width as Double = 0, Height as Double = 0) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See dynapdf_help.pdf for details.
Some examples using this method:
See also SetCellTemplate function in DynaPDF manual.
DynaPDFTableMBS.SetCellText(Row as Integer, Column as Integer, HTextAlign as Integer, VAlign as Integer, text as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Use DynaPDFMBS.ktaLeft and similar text align constants for HAlign.
But use DynaPDFTableMBS.kcoCenter and similar cell orientation constants for Valign.
Some examples using this method:
- /DynaPDF/Table with Listbox auto width
- /DynaPDF/Tables/Dynamic Table/DynaPDF Table Multi Page
- /DynaPDF/Tables/DynaPDF Table
- /DynaPDF/Tables/DynaPDF Table from Listbox
- /DynaPDF/Tables/DynaPDF Table Multi Page
- /DynaPDF/Tables/Table showing all fonts
- /DynaPDF/Tables/Table Text
- /DynaPDF/Tables/Table with Listbox
See also SetCellText function in DynaPDF manual.
DynaPDFTableMBS.SetCellTextAnsi(Row as Integer, Column as Integer, HTextAlign as Integer, VAlign as Integer, text as string) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Use DynaPDFMBS.ktaLeft and similar text align constants for HAlign.
But use DynaPDFTableMBS.kcoCenter and similar cell orientation constants for Valign.
See also SetCellText function in DynaPDF manual.
DynaPDFTableMBS.SetColWidth(column as UInt32, Width as Double, ExtTable as Boolean) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
- /DynaPDF/Table with Listbox auto width
- /DynaPDF/Tables/Dynamic Table/DynaPDF Table Multi Page
- /DynaPDF/Tables/DynaPDF Table
- /DynaPDF/Tables/DynaPDF Table from Listbox
- /DynaPDF/Tables/DynaPDF Table Multi Page
See also SetColWidth function in DynaPDF manual.
DynaPDFTableMBS.SetFlags(Row as Integer, Column as Integer, Flags as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Some examples using this method:
- /DynaPDF/Table with Listbox auto width
- /DynaPDF/Tables/Dynamic Table/DynaPDF Table Multi Page
- /DynaPDF/Tables/DynaPDF Table from Listbox
- /DynaPDF/Tables/DynaPDF Table Multi Page
- /DynaPDF/Tables/Table Images
- /DynaPDF/Tables/Table showing all fonts
- /DynaPDF/Tables/Table Templates
- /DynaPDF/Tables/Table with Listbox
See also SetFlags function in DynaPDF manual.
DynaPDFTableMBS.SetFont(Row as Integer, Column as Integer, name as string, Style as Integer = 0, Embed as Boolean = true, CodePage as Integer = &h27) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is Helvetica, Code page 1252, Embed false.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
See also SetFont function in DynaPDF manual.
DynaPDFTableMBS.SetFontAnsi(Row as Integer, Column as Integer, name as string, Style as Integer = 0, Embed as Boolean = true, CodePage as Integer = &h27) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is Helvetica, Code page 1252, Embed false.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
See also SetFont function in DynaPDF manual.
DynaPDFTableMBS.SetFontSelMode(Row as Integer, Column as Integer, value as Int32) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is ksmFamilyName.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
See also SetFontSelMode function in DynaPDF manual.
DynaPDFTableMBS.SetFontSize(Row as Integer, Column as Integer, size as Double) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is 10.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
See also SetFontSize function in DynaPDF manual.
DynaPDFTableMBS.SetGridHorizontalColor(channels() as Integer, ExtColorSpace as Integer = 0, ColorSpaceHandle as Integer = 0) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass an integer for each channel with 0 to 255.
See also:
Some examples using this method:
DynaPDFTableMBS.SetGridHorizontalColor(paramarray channels as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass an integer for each channel with 0 to 255.
See also:
DynaPDFTableMBS.SetGridHorizontalColorFloat(channels() as Double, ExtColorSpace as Integer = 0, ColorSpaceHandle as Integer = 0) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass a double value for each channel with range 0.0 to 1.0.
See also:
DynaPDFTableMBS.SetGridHorizontalColorFloat(paramarray channels as Double) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass a double value for each channel with range 0.0 to 1.0.
See also:
DynaPDFTableMBS.SetGridHorizontalColorValue(TPDFColorSpace as Integer, ColorValue as UInt32) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
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.
DynaPDFTableMBS.SetGridVerticalColor(channels() as Integer, ExtColorSpace as Integer = 0, ColorSpaceHandle as Integer = 0) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass an integer for each channel with 0 to 255.
See also:
Some examples using this method:
DynaPDFTableMBS.SetGridVerticalColor(paramarray channels as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass an integer for each channel with 0 to 255.
See also:
DynaPDFTableMBS.SetGridVerticalColorFloat(channels() as Double, ExtColorSpace as Integer = 0, ColorSpaceHandle as Integer = 0) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass a double value for each channel with range 0.0 to 1.0.
See also:
DynaPDFTableMBS.SetGridVerticalColorFloat(paramarray channels as Double) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass a double value for each channel with range 0.0 to 1.0.
See also:
DynaPDFTableMBS.SetGridVerticalColorValue(TPDFColorSpace as Integer, ColorValue as UInt32) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
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.
DynaPDFTableMBS.SetGridWidth(h as Double, v as Double) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is 0.
See also SetGridWidth function in DynaPDF manual.
DynaPDFTableMBS.SetImageColor(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 | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass an integer for each channel with 0 to 255.
See also:
DynaPDFTableMBS.SetImageColor(Row as Integer, Column as Integer, paramarray channels as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass an integer for each channel with 0 to 255.
See also:
DynaPDFTableMBS.SetImageColorFloat(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 | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass a double value for each channel with range 0.0 to 1.0.
See also:
DynaPDFTableMBS.SetImageColorFloat(Row as Integer, Column as Integer, paramarray channels as Double) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass a double value for each channel with range 0.0 to 1.0.
See also:
DynaPDFTableMBS.SetImageColorValue(Row as Integer, Column as Integer, TPDFColorSpace as Integer, ColorValue as UInt32) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
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.
DynaPDFTableMBS.SetPDF(pdf as DynaPDFMBS)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Some examples using this method:
DynaPDFTableMBS.SetRowHeight(Row as Integer, value as Double) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
See also SetRowHeight function in DynaPDF manual.
DynaPDFTableMBS.SetTableWidth(Value as single, AdjustType as Integer, MinColWidth as single)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 13.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
At least one column must be modified when the width will be changed. The parameter AdjustType specifies how the column width should be modified. If the new width is larger, then the difference can be added to the left or right column, or all columns can get a unique width (TableWidth / NumColumns). The parameter MinColWidth is ignored in this case.
If the new width is smaller then the difference must be subtracted from the columns. The parameter MinColWidth specifies in this case the minimum width of columns that must be adjusted. It is only used if AdjustType is not set to kcoaUniqueWidth. The column widths are adjusted starting from the left or right side as specified. If the width of the first column is not large enough to subtract the difference, then the minimum column width is set to the column. This adjustment continues until the gap is zero. If the new table width is smaller as MinColWidth * NumColumns then the widths of the remaining columns will be set to zero. Such cases should be avoided since the column widths must be adjusted again when the table is drawn.
kcoaUniqueWidth | Set the column widths to TableWidth / NumColumns |
kcoaAdjLeft | Adjust the widths starting from the left side |
kcoaAdjRight | Adjust the widths starting from the right side |
See dynapdf_help manual for details.
Returns true on success or false on failure.
See also SetTableWidth function in DynaPDF manual.
DynaPDFTableMBS.SetTextColor(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 | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass an integer for each channel with 0 to 255.
See also:
DynaPDFTableMBS.SetTextColor(Row as Integer, Column as Integer, paramarray channels as Integer) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass an integer for each channel with 0 to 255.
See also:
DynaPDFTableMBS.SetTextColorFloat(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 | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass a double value for each channel with range 0.0 to 1.0.
See also:
DynaPDFTableMBS.SetTextColorFloat(Row as Integer, Column as Integer, paramarray channels as Double) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
Pass a double value for each channel with range 0.0 to 1.0.
See also:
DynaPDFTableMBS.SetTextColorValue(Row as Integer, Column as Integer, TPDFColorSpace as Integer, ColorValue as UInt32) as boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | DynaPDF | MBS DynaPDF Plugin | 12.5 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Default is black.
If Row is -1, all rows are modified. If Column is -1, all columns are modified.
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.
The items on this page are in the following plugins: MBS DynaPDF Plugin.