Calculates the width of a string.
Declaration Syntax
C# | C# | Visual Basic | Visual Basic | Visual C++ | Visual C++ | F# | F# |
public static int MeasureDisplayStringWidth( Graphics graphics, string text, Font font, int maxWidth, string formatString )
public static int MeasureDisplayStringWidth( Graphics graphics, string text, Font font, int maxWidth, string formatString )
Public Shared Function MeasureDisplayStringWidth ( graphics As Graphics, text As String, font As Font, maxWidth As Integer, formatString As String ) As Integer
Public Shared Function MeasureDisplayStringWidth ( graphics As Graphics, text As String, font As Font, maxWidth As Integer, formatString As String ) As Integer
public: static int MeasureDisplayStringWidth( Graphics^ graphics, String^ text, Font^ font, int maxWidth, String^ formatString )
public: static int MeasureDisplayStringWidth( Graphics^ graphics, String^ text, Font^ font, int maxWidth, String^ formatString )
static member MeasureDisplayStringWidth : graphics : Graphics * text : string * font : Font * maxWidth : int * formatString : string -> int
static member MeasureDisplayStringWidth : graphics : Graphics * text : string * font : Font * maxWidth : int * formatString : string -> int
Return Value
Assembly: Keyoti.RapidSpell.NET4 (Module: Keyoti.RapidSpell.NET4.dll) Version: 6.2.21.412