combit List & Label 29 - .NET Help
combit.Reporting.Dom Namespace / PropertyOutputFormatterCurrency Class
Members Example


In This Topic
    PropertyOutputFormatterCurrency Class
    In This Topic
    This class can be used to define the format of a text. It allows to format the contents as currency.
    Object Model
    PropertyOutputFormatterCurrency Class
    Syntax
    'Declaration
     
    
    Public Class PropertyOutputFormatterCurrency 
       Inherits PropertyOutputFormatterDoubleBase
    public class PropertyOutputFormatterCurrency : PropertyOutputFormatterDoubleBase 
    public ref class PropertyOutputFormatterCurrency : public PropertyOutputFormatterDoubleBase 
    Example
    // attach a currency formatter to the cell
    PropertyOutputFormatterCurrency curr = new PropertyOutputFormatterCurrency(crosstab.Definition.Cells.All.OutputFormatter); 
     
    // two decimals
    curr.CountOfDecimals = "2";
    Inheritance Hierarchy

    System.Object
       combit.Reporting.Dom.DomItem
          combit.Reporting.Dom.PropertyOutputFormatterBase
             combit.Reporting.Dom.PropertyOutputFormatterDoubleBase
                combit.Reporting.Dom.PropertyOutputFormatterCurrency

    Requirements

    Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also