C# Class APG.GDIHelpers.GDIHelper

Show file Open project: UGTU/UGTUKadrProject

Public Methods

Method Description
GetPointForCenterString ( Graphics graphics, Rectangle rectangle, string Message, Font font ) : PointF
GetPointForCenterString ( Graphics graphics, Rectangle rectangle, string Message, Font font, int margin, string spacer, string &formatedMessage ) : PointF
GetPointForCenterString ( Graphics graphics, int x, int y, int width, int height, string Message, Font font ) : PointF

Method Details

GetPointForCenterString() public static method

public static GetPointForCenterString ( Graphics graphics, Rectangle rectangle, string Message, Font font ) : PointF
graphics System.Drawing.Graphics
rectangle System.Drawing.Rectangle
Message string
font System.Drawing.Font
return System.Drawing.PointF

GetPointForCenterString() public static method

public static GetPointForCenterString ( Graphics graphics, Rectangle rectangle, string Message, Font font, int margin, string spacer, string &formatedMessage ) : PointF
graphics System.Drawing.Graphics
rectangle System.Drawing.Rectangle
Message string
font System.Drawing.Font
margin int
spacer string
formatedMessage string
return System.Drawing.PointF

GetPointForCenterString() public static method

public static GetPointForCenterString ( Graphics graphics, int x, int y, int width, int height, string Message, Font font ) : PointF
graphics System.Drawing.Graphics
x int
y int
width int
height int
Message string
font System.Drawing.Font
return System.Drawing.PointF