Aspose::Words::Fields::IFieldResultFormatter interface

IFieldResultFormatter interface

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

class IFieldResultFormatter : public virtual System::Object

Methods

MethodDescription
virtual Format(System::String, Aspose::Words::Fields::GeneralFormat)Called when Aspose.Words applies a capitalization format switch, i.e. * Upper.
virtual Format(double, Aspose::Words::Fields::GeneralFormat)Called when Aspose.Words applies a number format switch, i.e. * Ordinal.
virtual FormatDateTime(System::DateTime, System::String, Aspose::Words::CalendarType)Called when Aspose.Words applies a date/time format switch, i.e. @ “dd.MM.yyyy”.
virtual FormatNumeric(double, System::String)Called when Aspose.Words applies a numeric format switch, i.e. # “#.##”.
GetType() const override
Is(const System::TypeInfo&) const override
static Type()

See Also