public class TableFormatInfo extends Object
Represent a TableFormatInfo
[C#] // Create an object of TableFormatInfo class. TableFormatInfo tfi = new TableFormatInfo(); //Sets a string value that indicate currency symbol of money, the default is "$". tfi.CurrencySymbol = "$"; // Format the table in specified columns and rows with given TableFormatInfo table.FormatTableWithFormatInfo(tfi,int firstColumn,int firstRow,int maxRows,int maxColumns); [Visual Basic] ' Create an object of TableFormatInfo class. Dim tfi As TableFormatInfo = New TableFormatInfo() 'Sets a string value that indicate currency symbol of money, the default is "$". tfi.CurrencySymbol = "$" 'Format the table in specified columns and rows with given TableFormatInfo table.FormatTableWithFormatInfo(tfi,int firstColumn,int firstRow,int maxRows,int maxColumns)
Constructor and Description |
---|
TableFormatInfo() |
Modifier and Type | Method and Description |
---|---|
String |
getCurrencySymbol()
Gets or Sets a string value that indicate symbol of money;
the default is "$".
|
boolean |
getSymbolBehind()
Gets or Sets a bool value that indicate whether the currency symbol of money is behind the number.
|
int |
getZeroStyle()
Gets or Sets a int value that indicate the zeroStyle in table.
|
void |
setCurrencySymbol(String value) |
void |
setSymbolBehind(boolean value) |
void |
setZeroStyle(int value) |
public boolean getSymbolBehind()
Gets or Sets a bool value that indicate whether the currency symbol of money is behind the number. The default value is false,the style is just like $100.If it setted true,the style is just like 100$.
public void setSymbolBehind(boolean value)
public String getCurrencySymbol()
Gets or Sets a string value that indicate symbol of money; the default is "$".
public void setCurrencySymbol(String value)
public int getZeroStyle()
Gets or Sets a int value that indicate the zeroStyle in table. the number 0 style means 0; the number 1 style means 0.0; the number 2 style means 0.00; the number 3 style means 0.000; anything else style means do noting;
public void setZeroStyle(int value)
Copyright © 2016 Aspose. All Rights Reserved.