See Also

Label Class  | Label Members  | MultiLine

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

WordWrap Property

Indicates whether a multi-line label control automatically wraps words to the beginning of the next line when necessary.

[Visual Basic]
Public Property WordWrap As Boolean
[C#]
public bool WordWrap {get; set;}

Return Type

A Boolean value. True if the label control wraps words; False if the text will be clipped.  The default value is True.

Example

[C#] 

private void Detail_Format(object sender, System.EventArgs eArgs) 

    this.Label1.MultiLine = true; 
    this.Label1.WordWrap = true; 
}

[Visual Basic] 

Private Sub Detail_Format(ByVal sender As Object, ByVal e As System.EventArgs) Handles Detail.Format
   Me.Label1.MultiLine = False
   Me.Label1.WordWrap = True
End Sub

See Also

Label Class  | Label Members  | MultiLine

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.