combit List & Label 29 - .NET Help
combit.Reporting.Dom Namespace / CrosstabCellBase Class / OutputFormatter Property
Example


In This Topic
    OutputFormatter Property (CrosstabCellBase)
    In This Topic
    Syntax
    'Declaration
     
    
    Public ReadOnly Property OutputFormatter As PropertyOutputFormatterBase
    public PropertyOutputFormatterBase OutputFormatter {get;}
    public:
    property PropertyOutputFormatterBase^ OutputFormatter {
       PropertyOutputFormatterBase^ get();
    }
    Example
    // add a paragraph
    Paragraph llobjParagraph = new Paragraph(llobjText.Paragraphs); 
    llobjParagraph.Contents = "1324.4567"; 
    PropertyOutputFormatterCurrency formatter = new PropertyOutputFormatterCurrency(llobjParagraph.OutputFormatter); 
     
    //format to just two decimals 
    formatter.CountOfDecimals = "2";
    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