List & Label .NET
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 - 22H2), Windows 11 (22H2 - 25H2), Windows Server 2016 - 2025
    .NET: .NET Framework 4.8, .NET 8, .NET 9, .NET 10

    See Also