GetXMLDataSize Method (TREEVIEW)


9.3A, PLBCMP GUI Only

 

The GetXMLDataSize method returns the size required for a Character String Variable to receive all of the TREEVIEW data stored in XML format. The method uses the following format:

 

 

[label]

{object}.GetXMLDataSize

[GIVING {return}] USING [*Options=]{options}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A TREEVIEW object that is accessed.

return

Optional. A Numeric Variable that receives expected XML data size for the TREEVIEW object data.

options

Optional. A decimal number or Numeric Variable that specifies the store options.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. If the value returned is zero, the ZERO Condition Flag is set.

  2. If {return} is too small to contain the numeric value, the OVER Condition Flag is set.

  3. The EOS Condition Flag is always cleared.

  4. The {options} description are the same as the SaveXmlFile method for the TREEVIEW object.

 

 

See Also: Method Syntax, TREEVIEW Methods

 



PL/B Language Reference GetVisibleCount Method (TREEVIEW) InsertItem Method (TREEVIEW)