Spread Windows Forms 7.0 Product Documentation
WrapText Property
See Also  Example Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > TextTipFetchEventArgs Class : WrapText Property


Glossary Item Box

Gets or sets whether the text tip or cell note should wrap for multiple lines.

Syntax

Visual Basic (Declaration) 
Public Property WrapText As Boolean
Visual Basic (Usage)Copy Code
Dim instance As TextTipFetchEventArgs
Dim value As Boolean
 
instance.WrapText = value
 
value = instance.WrapText
C# 
public bool WrapText {get; set;}

Property Value

Boolean: true to wrap the text to multiple lines; false to not wrap text

Example

C#Copy Code
private void fpSpread1_TextTipFetch(object sender, FarPoint.Win.Spread.TextTipFetchEventArgs e) 
{ 
     e.ShowTip = true;
     e.TipWidth = 200; 
     e.TipText = "This call is used to generate documents in a Portable Document Format (PDF), and then store them to disk, send them via email, or attach them to a policy. This request also provides the option of combining all of the generated forms into one PDF or separating them into one file per form.";
     e.WrapText = true;
}
Visual BasicCopy Code
Private Sub FpSpread1_TextTipFetch(ByVal sender As Object, ByVal e As FarPoint.Win.Spread.TextTipFetchEventArgs) Handles FpSpread1.TextTipFetch
e.ShowTip = True
e.TipWidth = 200;
e.TipText = "This call is used to generate documents in a Portable Document Format (PDF), and then store them to disk, send them via email, or attach them to a policy.  This request also provides the option of combining all of the generated forms into one PDF or separating them into one file per form."
     e.WrapText = True
End Sub

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.