FormatByParam(Value: String, param: Variant, DefaultFormat: String): String;
FormatByParam(Value: string, param: object, DefaultFormat: string): string;
Value. Source string.
param. Object used to insert a text equivalent of its value into the source string.
DefaultFormat. Default data format.
The FormatByParam method replaces a format element in the selected string with a text equivalent of the selected object's value.
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: