DynaPDFTableMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

DynaPDFTableMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class DynaPDF MBS DynaPDF Plugin 12.4 ✅ Yes ✅ Yes ✅ Yes ✅ Yes All
The class for a table in DynaPDF.

This tables are more for doing a layout, but can also be used to show a list or a worksheet like in Excel.
This is an abstract class. You can't create an instance, but you can get one from various plugin functions.

Cell Content Type Constants

Constant Value Description
kcctAction 4 Action
kcctImage 1 Image.
kcctTable 2 Table.
kcctTemplate 3 Template.
kcctText 0 Text

Column Adjustment Constants

Constant Value Description
kcoaAdjLeft 1 Adjust the widths starting from the left side.
kcoaAdjRight 2 Adjust the widths starting from the right side.
kcoaUniqueWidth 0 Set the column widths to TableWidth / NumColumns.

Cell Orientation

Constant Value Description
kcoBottom 1 Bottom
kcoCenter 2 Center
kcoLeft 0 Left
kcoRight 1 Right
kcoTop 0 Top

Cell Sides

Constant Value Description
kcsBottom 1 Bottom side
kcsLeft 0 Left side
kcsRight 2 Right side
kcsTop 3 Top side

Delete Content Options

Constant Value Description
kdcAction 16 Delete action.
kdcAllCont 31 Delete all content types
kdcBackGround &h20000000 Delete background objects
kdcBoth &h30000000 Delete both foreground and background objects
kdcForeGround &h10000000 Delete foreground objects
kdcImage 2 Delete image.
kdcTable 8 Delete table.
kdcTemplate 4 Template table.
kdcText 1 Delete text.
Text is always a foreground object

Cell flags Constants

Constant Value Description
ktfAddFlags 32 If used when setting flags, the flags are not replacing existing values, but added.
This way a call can set one flag and later another call can add a second flag without clearing first one.
ktfDefault 0 Default flag.
ktfFixedTextHeight 64 If set, text does not increase the row height if necessary. The row height must be non-zero in this case. The flag is ignored otherwise.
ktfHeaderRow 2 Header rows are drawn first after a page break occurred
Example
ktfNoLineBreak 4 Prohibit line breaks in cells whith text -> Can be set to the entire table, columns, rows, and cells.
Example
ktfScaleToRect 8 If set, the specified output width and height represents the maximum size of the image or template.
The image or template is scaled into this rectangle without changing the aspect ratio.
ktfStatic 1 This flag marks a row, column, or cell as static to avoid the deletion of the content with ClearContent().
ktfUseImageCS 16 If set, images are inserted in the native image color space.

This class has no sub classes.

Some methods using this class:

Some examples using this class:

Blog Entries

Xojo Developer Magazine

Release notes


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


DynaPDFSysFontMBS   -   DynaPDFTextRecordAMBS


💬 Ask a question or report a problem