Search Results for

    Show / Hide Table of Contents

    Class UnitsConverter

    The StimulSoft units converter.

    Inheritance
    System.Object
    UnitsConverter
    Namespace: FastReport.Import.StimulSoft
    Assembly: FastReport.Base.dll
    Syntax
    public static class UnitsConverter

    Methods

    ConverPageUnits(String)

    Converts value to PageUnits.

    Declaration
    public static PageUnits ConverPageUnits(string unitType)
    Parameters
    Type Name Description
    System.String unitType
    Returns
    Type Description
    PageUnits

    ConvertBarcodeSymbology(String, BarcodeObject)

    Converts the StimulSoft Barcode.Symbology to Barcode.Barcode.

    Declaration
    public static void ConvertBarcodeSymbology(string symbology, BarcodeObject barcode)
    Parameters
    Type Name Description
    System.String symbology

    The StimulSoft Barcode.Symbology value as string.

    BarcodeObject barcode

    The BarcodeObject instance.

    ConvertBool(String)

    Converts value to Boolean.

    Declaration
    public static bool ConvertBool(string str)
    Parameters
    Type Name Description
    System.String str

    Boolen value as string.

    Returns
    Type Description
    System.Boolean

    ConvertBorder(String)

    Converts StimulSoft Border.

    Declaration
    public static Border ConvertBorder(string border)
    Parameters
    Type Name Description
    System.String border
    Returns
    Type Description
    Border

    ConvertBorderDashStyle(String)

    Converts the StimulSoft BorderDashStyle to LineStyle.

    Declaration
    public static LineStyle ConvertBorderDashStyle(string borderDashStyle)
    Parameters
    Type Name Description
    System.String borderDashStyle

    The DevExpress BorderDashStyle value.

    Returns
    Type Description
    LineStyle

    The LineStyle value.

    ConvertBorderSides(String)

    Converts the StimulSoft border sides to FastReport border sides

    Declaration
    public static BorderLines ConvertBorderSides(string sides)
    Parameters
    Type Name Description
    System.String sides
    Returns
    Type Description
    BorderLines

    ConvertBrush(String)

    Converts the StimulSoft Brush to FillBase object.

    Declaration
    public static FillBase ConvertBrush(string brush)
    Parameters
    Type Name Description
    System.String brush
    Returns
    Type Description
    FillBase

    ConvertBrushToColor(FillBase)

    Convert fill to color

    Declaration
    public static Color ConvertBrushToColor(FillBase fill)
    Parameters
    Type Name Description
    FillBase fill
    Returns
    Type Description
    Color

    ConvertCapStyle(String)

    Converts the StimulSoft CapStyle to CapStyle.

    Declaration
    public static CapStyle ConvertCapStyle(string style)
    Parameters
    Type Name Description
    System.String style
    Returns
    Type Description
    CapStyle

    ConvertCheckSymbol(String)

    Converts the StimulSoft CheckedSymbol to CheckedSymbol.

    Declaration
    public static CheckedSymbol ConvertCheckSymbol(string checksymbol)
    Parameters
    Type Name Description
    System.String checksymbol
    Returns
    Type Description
    CheckedSymbol

    ConvertColor(String)

    Converts StimulSoft Color.

    Declaration
    public static Color ConvertColor(string str)
    Parameters
    Type Name Description
    System.String str

    The DevExpress Color value as string.

    Returns
    Type Description
    Color

    The Color value.

    ConvertContentAlignment(String)

    Converts the StimulSoft SeriesChartType to SeriesChartType.

    Declaration
    public static ContentAlignment ConvertContentAlignment(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    ContentAlignment

    ConvertFloat(String)

    Parse float value

    Declaration
    public static float ConvertFloat(string strFloat)
    Parameters
    Type Name Description
    System.String strFloat
    Returns
    Type Description
    System.Single

    ConvertFormat(XmlNode)

    Converts the StimulSoft Format to FormatBase object.

    Declaration
    public static FormatBase ConvertFormat(XmlNode node)
    Parameters
    Type Name Description
    XmlNode node
    Returns
    Type Description
    FormatBase

    ConvertInt(String)

    Parse int value.

    Declaration
    public static int ConvertInt(string strInt)
    Parameters
    Type Name Description
    System.String strInt
    Returns
    Type Description
    System.Int32

    ConvertLineStyle(String)

    Converts the StimulSoft LineStyle to LineStyle.

    Declaration
    public static LineStyle ConvertLineStyle(string lineStyle)
    Parameters
    Type Name Description
    System.String lineStyle

    The StimulSoft LineStyle value.

    Returns
    Type Description
    LineStyle

    The LineStyle value.

    ConvertPaperSize(String, ReportPage)

    Converts the PaperSize to width and height values of paper size in millimeters

    Declaration
    public static void ConvertPaperSize(string paperSize, ReportPage page)
    Parameters
    Type Name Description
    System.String paperSize

    The PaperSize value.

    ReportPage page

    The ReportPage instance.

    ConvertPoint(String)

    Parse string to struct f Point.

    Declaration
    public static Point ConvertPoint(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    Point

    ConvertRTF(String)

    Converts the StimulSoft RTF string to raw RTF.

    Declaration
    public static string ConvertRTF(string rtfStimulsoft)
    Parameters
    Type Name Description
    System.String rtfStimulsoft
    Returns
    Type Description
    System.String

    ConvertSize(String)

    Parse string to struct of Size.

    Declaration
    public static Size ConvertSize(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type Description
    Size

    ConvertTextAlignmentToHorzAlign(String)

    Converts the StimulSoft TextAlignment to HorzAlignment.

    Declaration
    public static HorzAlign ConvertTextAlignmentToHorzAlign(string textAlignment)
    Parameters
    Type Name Description
    System.String textAlignment

    The StimulSoft TextAlignment value.

    Returns
    Type Description
    HorzAlign

    The HorzAlign value.

    ConvertTextAlignmentToVertAlign(String)

    Converts the StimulSoft TextAlignment to VertAlignment.

    Declaration
    public static VertAlign ConvertTextAlignmentToVertAlign(string textAlignment)
    Parameters
    Type Name Description
    System.String textAlignment

    The StimulSoft TextAlignment value.

    Returns
    Type Description
    VertAlign

    The VertAlign value.

    GetMatrixAggregateFunction(XmlNode)

    Converts the StimulSoft AggregateFunction sides to FastReport MatrixAggregateFunction

    Declaration
    public static MatrixAggregateFunction GetMatrixAggregateFunction(XmlNode node)
    Parameters
    Type Name Description
    XmlNode node
    Returns
    Type Description
    MatrixAggregateFunction

    GetPixelsInUnit(PageUnits)

    Converts value to PageUnits.

    Declaration
    public static float GetPixelsInUnit(PageUnits unitType)
    Parameters
    Type Name Description
    PageUnits unitType
    Returns
    Type Description
    System.Single
    Back to top © 1998-2025 Copyright Fast Reports Inc.