Spread Windows Forms 8.0 Product Documentation
WrapText Property
Example 


Gets or sets whether the text tip or cell note should wrap for multiple lines.
Syntax
'Declaration
 
Public Property WrapText As Boolean
'Usage
 
Dim instance As TextTipFetchEventArgs
Dim value As Boolean
 
instance.WrapText = value
 
value = instance.WrapText
public bool WrapText {get; set;}

Property Value

Boolean: true to wrap the text to multiple lines; false to not wrap text
Example
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;
}
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

Reference

TextTipFetchEventArgs Class
TextTipFetchEventArgs Members

 

 


Copyright © GrapeCity, inc. All rights reserved.