combit List & Label 24 - .NET Online Web Help
OutputFormatter Property (CrosstabCellBase)
Example 


combit.ListLabel24.Dom Namespace > CrosstabCellBase Class : OutputFormatter Property

Gets or sets the formatting for the text displayed. Available OutputFormatter classes are:

PropertyOutputFormatterCurrency

PropertyOutputFormatterDate

PropertyOutputFormatterDateTime

PropertyOutputFormatterDegree

PropertyOutputFormatterDouble

PropertyOutputFormatterPercentage

PropertyOutputFormatterTime

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 Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

CrosstabCellBase Class
CrosstabCellBase Members