Spread Windows Forms 6.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 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

See Also

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