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


OutputFormatter Property (CrosstabCellBase)
Syntax
'Declaration
 
Public ReadOnly Property OutputFormatter As PropertyOutputFormatterBase
 
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 8, .NET 9

See Also