IVZBaseFormatter.FormatByParams

Fore Syntax

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

Fore.NET Syntax

FormatByParams(Value: string, param1: object, param2: object, 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 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).

Fore and Fore.NET Examples

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

See also:

IVZBaseFormatter