Class UnitsConverter
The FR3 units converter.
Inheritance
Namespace: FastReport.Design.ExportPlugins.FR3
Assembly: FastReport.dll
Syntax
public static class UnitsConverter
Methods
ColorToTColor(Color)
Converts Color to TColor.
Declaration
public static string ColorToTColor(Color color)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Color | color | Color value. |
Returns
Type | Description |
---|---|
System.String | String that contains TColor value. |
ConvertBarcodeType(BarcodeBase)
Converts barcode type.
Declaration
public static string ConvertBarcodeType(BarcodeBase barcode)
Parameters
Type | Name | Description |
---|---|---|
BarcodeBase | barcode | BarcodeBase instance. |
Returns
Type | Description |
---|---|
System.String | String that contains converted value. |
ConvertBorderLines(BorderLines)
Converts BorderLines value.
Declaration
public static string ConvertBorderLines(BorderLines lines)
Parameters
Type | Name | Description |
---|---|---|
BorderLines | lines | BorderLines instance. |
Returns
Type | Description |
---|---|
System.String | String that contains converted value. |
ConvertCheckedSymbol(CheckedSymbol)
Converts CheckedSymbol value.
Declaration
public static string ConvertCheckedSymbol(CheckedSymbol symbol)
Parameters
Type | Name | Description |
---|---|---|
CheckedSymbol | symbol | CheckeSymbol instance. |
Returns
Type | Description |
---|---|
System.String | String that contains converted value. |
ConvertDashStyle(DashStyle)
Converts DashStyle value.
Declaration
public static string ConvertDashStyle(DashStyle ds)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Drawing2D.DashStyle | ds | DashStyle instance. |
Returns
Type | Description |
---|---|
System.String | String that contains converted value. |
ConvertFontSize(Single)
Converts font size to delphi font height.
Declaration
public static string ConvertFontSize(float size)
Parameters
Type | Name | Description |
---|---|---|
System.Single | size | Font size value. |
Returns
Type | Description |
---|---|
System.String | String that contains font height value. |
ConvertFontStyle(FontStyle)
Converts font style.
Declaration
public static string ConvertFontStyle(FontStyle fontStyle)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.FontStyle | fontStyle | FontStyle value. |
Returns
Type | Description |
---|---|
System.String | String that contains converted value. |
ConvertHorzAlign(HorzAlign)
Converts horizontal alignment of text.
Declaration
public static string ConvertHorzAlign(HorzAlign ha)
Parameters
Type | Name | Description |
---|---|---|
HorzAlign | ha | HorzAlign value. |
Returns
Type | Description |
---|---|
System.String | String that contains converted value. |
ConvertLineStyle(LineStyle)
Convert line style to frame style.
Declaration
public static string ConvertLineStyle(LineStyle style)
Parameters
Type | Name | Description |
---|---|---|
LineStyle | style | Line style value. |
Returns
Type | Description |
---|---|
System.String | String that contains converted value. |
ConvertMapLabelKind(MapLabelKind)
Converts MapLabelKind value.
Declaration
public static string ConvertMapLabelKind(MapLabelKind kind)
Parameters
Type | Name | Description |
---|---|---|
MapLabelKind | kind | MapLabelKind instance. |
Returns
Type | Description |
---|---|
System.String | String that contains converted value. |
ConvertMapPalette(MapPalette)
Converts MapPalette value.
Declaration
public static string ConvertMapPalette(MapPalette palette)
Parameters
Type | Name | Description |
---|---|---|
MapPalette | palette | MapPalette instance. |
Returns
Type | Description |
---|---|
System.String | String that contains converted value. |
ConvertScaleDock(ScaleDock)
Converts ScaleDock value.
Declaration
public static string ConvertScaleDock(ScaleDock dock)
Parameters
Type | Name | Description |
---|---|---|
ScaleDock | dock | ScaleDock instance. |
Returns
Type | Description |
---|---|
System.String | String that contains converted value. |
ConvertShapeKind(ShapeKind)
Converts ShapeKind value.
Declaration
public static string ConvertShapeKind(ShapeKind sk)
Parameters
Type | Name | Description |
---|---|---|
ShapeKind | sk | ShapeKind instance. |
Returns
Type | Description |
---|---|
System.String | String that contains coverted value. |
ConvertTotalType(TotalType)
Converts TotalType value.
Declaration
public static string ConvertTotalType(TotalType tt)
Parameters
Type | Name | Description |
---|---|---|
TotalType | tt | TotalType instance. |
Returns
Type | Description |
---|---|
System.String | String that contains converted value. |
ConvertVertAlign(VertAlign)
Converts vertical alignment of text.
Declaration
public static string ConvertVertAlign(VertAlign va)
Parameters
Type | Name | Description |
---|---|---|
VertAlign | va | VertAlign value. |
Returns
Type | Description |
---|---|
System.String | String that contains coverted value. |