ActiveReports 9
WordWrap Property (Label)
Example 

Indicates whether a multi-line label control automatically wraps words to the beginning of the next line when necessary.
Syntax
'Declaration
 
Public Property WordWrap As System.Boolean
public System.bool WordWrap {get; set;}

Property Value

A Boolean value. True if the label control wraps words; False if the text will be clipped.  The default value is True.
Example
private void detail_Format(object sender, System.EventArgs eArgs)
{
    this.label1.MultiLine = true;
    this.label1.WordWrap = true;
}
Private Sub Detail1_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail1.Format
   Me.Label1.MultiLine = False
   Me.Label1.WordWrap = 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

Reference

Label Class
Label Members
ActiveReports6~GrapeCity.ActiveReports.Label~MultiLine

 

 


Copyright © 2014 GrapeCity, inc. All rights reserved

Support Forum