Search Results for

    Show / Hide Table of Contents

    Class FormatBase

    Base class for all formats.

    Inheritance
    System.Object
    System.MarshalByRefObject
    System.ComponentModel.Component
    FormatBase
    BooleanFormat
    CurrencyFormat
    CustomFormat
    GeneralFormat
    NumberFormat
    PercentFormat
    Namespace: FastReport.Olap.Format
    Assembly: FastReport.Olap.dll
    Syntax
    public abstract class FormatBase : Component, IComponent, IDisposable
    Remarks

    The format is used to format expression value in a object.

    Properties

    Name

    Gets the short format name (e.g. without a "Format" suffix).

    Declaration
    [Browsable(false)]
    public string Name { get; }
    Property Value
    Type Description
    System.String

    Methods

    Clone()

    Creates exact copy of this format.

    Declaration
    public abstract FormatBase Clone()
    Returns
    Type Description
    FormatBase

    The copy of this format.

    FormatValue(Object)

    Formats the specified value.

    Declaration
    public abstract string FormatValue(object value)
    Parameters
    Type Name Description
    System.Object value

    The value to format.

    Returns
    Type Description
    System.String

    The string that represents the formatted value.

    Load(XmlItem)

    Loads format from XML

    Declaration
    public abstract void Load(XmlItem item)
    Parameters
    Type Name Description
    XmlItem item

    Save(XmlItem)

    Saves format to XML

    Declaration
    public abstract void Save(XmlItem item)
    Parameters
    Type Name Description
    XmlItem item
    Back to top © 1998-2024 Copyright Fast Reports Inc.