Class DrawUtils
Inheritance
System.Object
DrawUtils
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: FastReport.OpenSource.dll
Syntax
public static class DrawUtils
Properties
Default96Font
Declaration
public static Font Default96Font { get; }
Property Value
DefaultFont
Declaration
public static Font DefaultFont { get; }
Property Value
DefaultItemHeight
Declaration
public static int DefaultItemHeight { get; }
Property Value
Type |
Description |
System.Int32 |
|
DefaultReportFont
Declaration
public static Font DefaultReportFont { get; }
Property Value
DefaultTextObjectFont
Declaration
public static Font DefaultTextObjectFont { get; }
Property Value
FixedFont
Declaration
public static Font FixedFont { get; }
Property Value
ScreenDpi
Declaration
public static int ScreenDpi { get; }
Property Value
Type |
Description |
System.Int32 |
|
ScreenDpiFX
Declaration
public static float ScreenDpiFX { get; }
Property Value
Type |
Description |
System.Single |
|
Methods
DrawToBitmap(Control, Boolean)
Declaration
public static Bitmap DrawToBitmap(Control control, bool children)
Parameters
Type |
Name |
Description |
Control |
control |
|
System.Boolean |
children |
|
Returns
FloodFill(Bitmap, Int32, Int32, Color, Color)
Declaration
public static void FloodFill(Bitmap bmp, int x, int y, Color color, Color replacementColor)
Parameters
Type |
Name |
Description |
Bitmap |
bmp |
|
System.Int32 |
x |
|
System.Int32 |
y |
|
Color |
color |
|
Color |
replacementColor |
|
Declaration
public static SizeF MeasureString(Graphics g, string text, Font font, RectangleF layoutRect, StringFormat format)
Parameters
Type |
Name |
Description |
Graphics |
g |
|
System.String |
text |
|
Font |
font |
|
RectangleF |
layoutRect |
|
StringFormat |
format |
|
Returns
Declaration
public static SizeF MeasureString(Graphics g, string text, Font font, StringFormat format)
Parameters
Type |
Name |
Description |
Graphics |
g |
|
System.String |
text |
|
Font |
font |
|
StringFormat |
format |
|
Returns
MeasureString(String)
Declaration
public static SizeF MeasureString(string text)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Returns
MeasureString(String, Font)
Declaration
public static SizeF MeasureString(string text, Font font)
Parameters
Type |
Name |
Description |
System.String |
text |
|
Font |
font |
|
Returns