Dundas Chart for Windows Forms
WrapString Method
See Also  Send comments on this topic.
DundasWinChart Assembly > Dundas.Charting.WinControl.Svg Namespace > SvgRendering Class : WrapString Method


text
String which has to be wrapped.
destRectangle
Destination rectangle.
stringArray
Rectangle which should be filled with text in many columns.
This method is used to wrap string which can not fir specified rectangle. SVG does not support multi line text and automatic text wrapping.

Syntax

Visual Basic (Declaration)  
Public Function WrapString( _
   ByVal text As String, _
   ByVal destRectangle As RectangleF, _
   ByRef stringArray As String _
) As Single
Visual Basic (Usage) Copy Code
Dim instance As SvgRendering
Dim text As String
Dim destRectangle As RectangleF
Dim stringArray As String
Dim value As Single
 
value = instance.WrapString(text, destRectangle, stringArray)
C#  
public float WrapString( 
   string text,
   RectangleF destRectangle,
   out string stringArray
)

Parameters

text
String which has to be wrapped.
destRectangle
Destination rectangle.
stringArray
Rectangle which should be filled with text in many columns.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2009 All Rights Reserved.