Search Results for

    Show / Hide Table of Contents

    Class GraphicUtils

    Inheritance
    object
    GraphicUtils
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: Reportman.Drawing
    Assembly: Reportman.Drawing.dll
    Syntax
    public class GraphicUtils

    Constructors

    GraphicUtils()

    Declaration
    public GraphicUtils()

    Fields

    ColorNames

    Declaration
    public static SortedList<string, KnownColor> ColorNames
    Field Value
    Type Description
    SortedList<string, KnownColor>

    DefaultDPI

    Declaration
    public static int DefaultDPI
    Field Value
    Type Description
    int

    flag

    Declaration
    public static object flag
    Field Value
    Type Description
    object

    Methods

    ColorFromHtml(string)

    Declaration
    public static Color ColorFromHtml(string htmlColor)
    Parameters
    Type Name Description
    string htmlColor
    Returns
    Type Description
    Color

    ColorFromInteger(int)

    Create a Color based on a 32 bit integer

    Declaration
    public static Color ColorFromInteger(int aint)
    Parameters
    Type Name Description
    int aint

    Integer color value in the form of $00BBGGRR

    Returns
    Type Description
    Color

    Returs a Color usable in any System.Drawing function

    ColorFromIntegerA(int)

    Create a Color based on a 32 bit integer

    Declaration
    public static Color ColorFromIntegerA(int aint)
    Parameters
    Type Name Description
    int aint

    Integer color value in the form of $00BBGGRR

    Returns
    Type Description
    Color

    Returs a Color usable in any System.Drawing function

    ColorFromString(string)

    Declaration
    public static Color ColorFromString(string ncolor)
    Parameters
    Type Name Description
    string ncolor
    Returns
    Type Description
    Color

    FontStyleIsBold(int)

    Declaration
    public static bool FontStyleIsBold(int intfontstyle)
    Parameters
    Type Name Description
    int intfontstyle
    Returns
    Type Description
    bool

    FontStyleIsItalic(int)

    Declaration
    public static bool FontStyleIsItalic(int intfontstyle)
    Parameters
    Type Name Description
    int intfontstyle
    Returns
    Type Description
    bool

    FontStyleIsStrikeOut(int)

    Declaration
    public static bool FontStyleIsStrikeOut(int intfontstyle)
    Parameters
    Type Name Description
    int intfontstyle
    Returns
    Type Description
    bool

    FontStyleIsUnderline(int)

    Declaration
    public static bool FontStyleIsUnderline(int intfontstyle)
    Parameters
    Type Name Description
    int intfontstyle
    Returns
    Type Description
    bool

    IntegerFromColor(Color)

    Create an integer value based on a Color ///

    Declaration
    public static int IntegerFromColor(Color acolor)
    Parameters
    Type Name Description
    Color acolor

    Color value

    Returns
    Type Description
    int

    Returs an integer value in the form of $00BBGGRR

    IntegerFromColorA(Color)

    Declaration
    public static int IntegerFromColorA(Color acolor)
    Parameters
    Type Name Description
    Color acolor
    Returns
    Type Description
    int
    In this article
    Back to top Generated by DocFX