IVZBaseFormatter.FormatByParams

Syntax

FormatByParams(Value: String, param1: Variant, param2: Variant, DefaultFormat: string): String;

Parameters

Value. Source string.

param1. The first object used to insert text equivalent of its value into the source string.

param2. The second object used to insert text equivalent of its value into the source string.

DefaultFormat. Default data format.

Description

The FormatByParams method replaces each format element in the specified string with a text equivalent of the appropriate objects' values.

Comments

The following objects (parameters) can be used for the IVZBubbleTree bubble tree in the source string: Name (bubble name), SizeTitle (size indicator name), SizeValue (size indicator value), ColorTitle (color indicator name), ColorValue (color indicator value), TextTitle (text indicator name), TextValue (text indicator value), ChildsCount (number of bubble's children).

The following objects (parameters) can be used for the IVZTreeMap tree map in the source string: Name (bubble name), SizeTitle (size indicator name), SizeValue (size indicator value), HeightTitle (height indicator name), HeightValue (height indicator value), ColorTitle (color indicator name), ColorValue (color indicator value), TextTitle (text indicator name), TextValue (text indicator value), ChildsCount (number of bubble's children).

Example

The property use is given in the example for IVZBaseFormatter.Format.

See also:

IVZBaseFormatter