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