Class ExportUtils
Inheritance
System.Object
ExportUtils
Assembly: FastReport.Base.dll
Syntax
public static class ExportUtils
Methods
FloatToString(Double, Int32)
Declaration
public static string FloatToString(double value, int digits = 2)
Parameters
Type |
Name |
Description |
System.Double |
value |
|
System.Int32 |
digits |
|
Returns
Type |
Description |
System.String |
|
GetPageHeight(ReportPage)
Gets current page height.
Declaration
public static float GetPageHeight(ReportPage page)
Parameters
Returns
Type |
Description |
System.Single |
|
GetPageWidth(ReportPage)
Declaration
public static float GetPageWidth(ReportPage page)
Parameters
Returns
Type |
Description |
System.Single |
|
HtmlString(String, TextRenderType, String)
Declaration
public static FastString HtmlString(string text, TextRenderType textRenderType, string fontSize = "13px;")
Parameters
Type |
Name |
Description |
System.String |
text |
|
TextRenderType |
textRenderType |
|
System.String |
fontSize |
|
Returns
IndexToName(Int32)
Convert index to Excel column name.
Declaration
public static string IndexToName(int index)
Parameters
Type |
Name |
Description |
System.Int32 |
index |
Index of column
|
Returns
Type |
Description |
System.String |
Column name
|
SaveJpeg(Drawing.Image, Stream, Int32)
Declaration
public static void SaveJpeg(Drawing.Image image, Stream buff, int quality)
Parameters
Type |
Name |
Description |
System.Drawing.Image |
image |
|
System.IO.Stream |
buff |
|
System.Int32 |
quality |
|