Following reference describes the types of properties and methods' parameters independent of any programming language and environment. The table lists how they correspond to some of the most popular languages and development environments built-in types e.g. what data types will be mapped to FlowChartX types when you import FlowChartX type library.
![]() |
---|
In order to be automation-compliant such system-specific data types (as handles to windows or device contexts - HWND, HDC) are replaced with automation types that have to be cast to their true type when used. |
Types | ATL source code | VC++ #import / dispatch driver | Borland Delphi | C# / wrapper when imported | VB.NET / wrapper when imported |
---|---|---|---|---|---|
Boolean | VARIANT_BOOL | VARIANT_BOOL / BOOL | WordBool | bool | Boolean |
short | short | short | Smallint | short | Short |
long | LONG | long | Integer | int | Integer |
float | float | float | Real | float | Single |
text | BSTR | BSTR | WideString | string | String |
color | OLE_COLOR | OLE_COLOR | OLE_COLOR | uint | UInt32 |
font | IFontDisp* | IFontDisp* | IFontDisp | stdole.IFontDisp | stdole.IFontDisp |
picture | IPictureDisp* | IPictureDisp* | IPictureDisp | stdole.IPictureDisp / Image | stdole.IPictureDisp / Image |
unsigned long | ULONG | unsigned long | UINT | uint | UInt32 |
buffer | BYTE* | unsigned char* | var BYTE | ref byte | ByRef as Byte |
array of bytes | SAFEARRAY (BYTE)* | SAFEARRAY* | PSafeArray | ref Array | ByRef as Array |
reference to arrow object | IArrowItem* | IArrowItemPtr smart pointer / LPDISPATCH | IArrowItem | FLOWCHARTLib.Arrow | FLOWCHARTLib.Arrow |
reference to box object | IBoxItem* | IBoxItemPtr smart pointer / LPDISPATCH | IBoxItem | FLOWCHARTLib.box | FLOWCHARTLib.box |
reference to table object | ITableItem* | ITableItemPtr smart pointer / LPDISPATCH | ITableItem | FLOWCHARTLib.Table | FLOWCHARTLib.Table |
reference to group | IGroupItem* | IGroupItemPtr smart pointer / LPDISPATCH | IGroupItem | FLOWCHARTLib.Group | FLOWCHARTLib.Group |
reference to object | LPDISPATCH | IDispatch* | IDispatch | object | Object |
collection of arrow objects | IArrows* | IArrowsPtr smart pointer / LPDISPATCH | IArrows | FLOWCHARTLib.IArrows | FLOWCHARTLib.IArrows |
collection of box objects | IBoxes* | IBoxesPtr smart pointer / LPDISPATCH | IBoxes | FLOWCHARTLib.IBoxes | FLOWCHARTLib.IBoxes |
collection of table objects | ITables* | ITablesPtr smart pointer / LPDISPATCH | ITables | FLOWCHARTLib.ITables | FLOWCHARTLib.ITables |
collection of groups | IGroups* | IGroupsPtr smart pointer / LPDISPATCH | IGroups | FLOWCHARTLib.IGroups | FLOWCHARTLib.IGroups |
enumerator | IEnumVariant* | IEnumVariant* | IEnumVariant | IEnumerator | IEnumerator |