| synopsis || return value || arguments || prev || next |

jpx_metanode::add_label

Java: Jpx_metanode::Add_label

jpx_metanode add_label( const char * text)

Java: Jpx_metanode Add_label( String text)

[Declared in "../apps/compressed_io/jpx.h"]

Go to class description.


Synopsis

Use this function to add a descendant to the present node, assigning this descendant to represent a label ( lbl ) box. If this node is assigned its own descendants, it will be represented by an association box, whose first sub-box is the label box; in this case, the node's descendants will all be associated with the text label. Otherwise, the node represents an isolated label all by itself. Both cases can be useful.


Return Value

Reference to the newly created node.

Arguments

text [const char *]

Null-terminated text string to be stored in the body of the label box; the string is copied internally.


| top || synopsis || return value || arguments || prev || next |