Class GraphicUtils
Assembly: Reportman.Drawing.dll
Syntax
public class GraphicUtils
Constructors
GraphicUtils()
Declaration
Fields
ColorNames
Declaration
public static SortedList<string, KnownColor> ColorNames
Field Value
DefaultDPI
Declaration
public static int DefaultDPI
Field Value
flag
Declaration
public static object flag
Field Value
Methods
ColorFromHtml(string)
Declaration
public static Color ColorFromHtml(string htmlColor)
Parameters
| Type |
Name |
Description |
| string |
htmlColor |
|
Returns
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
FontStyleIsBold(int)
Declaration
public static bool FontStyleIsBold(int intfontstyle)
Parameters
| Type |
Name |
Description |
| int |
intfontstyle |
|
Returns
FontStyleIsItalic(int)
Declaration
public static bool FontStyleIsItalic(int intfontstyle)
Parameters
| Type |
Name |
Description |
| int |
intfontstyle |
|
Returns
FontStyleIsStrikeOut(int)
Declaration
public static bool FontStyleIsStrikeOut(int intfontstyle)
Parameters
| Type |
Name |
Description |
| int |
intfontstyle |
|
Returns
FontStyleIsUnderline(int)
Declaration
public static bool FontStyleIsUnderline(int intfontstyle)
Parameters
| Type |
Name |
Description |
| int |
intfontstyle |
|
Returns
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