BCGSoft.Shared Namespace > GlobalUtils Class : SplitTextByWidth Method |
'Declaration Public Shared Sub SplitTextByWidth( _ ByVal grph As Graphics, _ ByVal font As Font, _ ByVal srcString As String, _ ByRef outFirst As String, _ ByRef outSecong As String, _ ByVal widthToFit As Integer, _ ByVal center As Boolean _ )
'Usage Dim grph As Graphics Dim font As Font Dim srcString As String Dim outFirst As String Dim outSecong As String Dim widthToFit As Integer Dim center As Boolean GlobalUtils.SplitTextByWidth(grph, font, srcString, outFirst, outSecong, widthToFit, center)
public static void SplitTextByWidth( Graphics grph, Font font, string srcString, ref string outFirst, ref string outSecong, int widthToFit, bool center )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2