FormatByParams(Value: String, param1: Variant, param2: Variant, DefaultFormat: string): String;
FormatByParams(Value: string, param1: object, param2: object, DefaultFormat: string): string;
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.
The FormatByParams method replaces each format element in the specified string with a text equivalent of the appropriate objects' values.
The following objects (parameters) can be used for the IVZBubbleTree bubble tree in the source string: Name (bubble name), SizeTitle (size factor name), SizeValue (size factor value), ColorTitle (color factor name), ColorValue (color factor value), TextTitle (text factor name), TextValue (text factor 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 factor name), SizeValue (size factor value), HeightTitle (height factor name), HeightValue (height factor value), ColorTitle (colorfactor name), ColorValue (color factor value), TextTitle (text factor name), TextValue (text factor value), ChildsCount (number of bubble's children).
The property use is given in the example for IVZBaseFormatter.Format.
See also: