IFieldResultFormatter class

IFieldResultFormatter class

Implement this interface if you want to control how the field result is formatted.

Methods

NameDescription
format(value, format)Called when Aspose.Words applies a capitalization format switch, i.e. \* Upper.
format(value, format)Called when Aspose.Words applies a number format switch, i.e. \* Ordinal.
format_date_time(value, format, calendar_type)Called when Aspose.Words applies a date/time format switch, i.e. \@ “dd.MM.yyyy”.
format_numeric(value, format)Called when Aspose.Words applies a numeric format switch, i.e. \# “#.##”.

See Also