Graphisoft®

Dialog ManagerVersion: 2.0

ItemTextProperty::GetText

Retrieves the text of the item.

long GetText (
    char *              text,
    long                size
) const;

Parameters

text
A previously allocated character array, which will be filled with the text of the item. This can be NULL.
size
The size of the previously allocated character array. If text is NULL, this parameter is ignored.

Return Value

The length of the item text (including the 0 terminator), or 0 if size is less than the size of the item text.