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


Glossary Item Box

Gets or sets the width of the text tip or cell note.

Syntax

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

Property Value

Integer number of pixels in the width of the box

Remarks

Specify the width of the text tip box in pixels.

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.