C# Class SidebarLibrary.General.TextUtil

Summary description for TextUtil.
Datei anzeigen Open project: sillsdev/FieldWorks

Public Methods

Method Description
DrawReverseString ( Graphics g, String drawText, Font drawFont, Rectangle drawRect, Brush drawBrush, StringFormat drawFormat ) : void
DrawText ( Graphics graphics, string text, Font font, Rectangle rect ) : void
GetTextSize ( Graphics graphics, string text, Font font ) : Size
GetTextSize ( Graphics graphics, string text, Font font, Rectangle &rc, DrawTextFormatFlags drawFlags ) : Size

Private Methods

Method Description
TextUtil ( ) : System

Method Details

DrawReverseString() public static method

public static DrawReverseString ( Graphics g, String drawText, Font drawFont, Rectangle drawRect, Brush drawBrush, StringFormat drawFormat ) : void
g System.Drawing.Graphics
drawText String
drawFont System.Drawing.Font
drawRect System.Drawing.Rectangle
drawBrush System.Drawing.Brush
drawFormat System.Drawing.StringFormat
return void

DrawText() public static method

public static DrawText ( Graphics graphics, string text, Font font, Rectangle rect ) : void
graphics System.Drawing.Graphics
text string
font System.Drawing.Font
rect System.Drawing.Rectangle
return void

GetTextSize() public static method

public static GetTextSize ( Graphics graphics, string text, Font font ) : Size
graphics System.Drawing.Graphics
text string
font System.Drawing.Font
return System.Drawing.Size

GetTextSize() public static method

public static GetTextSize ( Graphics graphics, string text, Font font, Rectangle &rc, DrawTextFormatFlags drawFlags ) : Size
graphics System.Drawing.Graphics
text string
font System.Drawing.Font
rc System.Drawing.Rectangle
drawFlags DrawTextFormatFlags
return System.Drawing.Size