See Also

Label Class  | Label Members  | WordWrap

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports Send feedback to Data Dynamics

MultiLine Property

Gets or sets a value indicating whether this is a multi-line label control.

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

Return Type

A Boolean value. True if the label control is multiline; otherwise, False.

Remarks

A multi-line label control renders the label's text on more than one line.  If the WordWrap property is set to True, long lines will be wrapped to the following line.  If the WordWrap property is set to False, the text will print on a new line only when a new line character is encountered.

Example

[C#] 

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

    this.Label1.MultiLine = false; 
}

[Visual Basic] 

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

See Also

Label Class  | Label Members  | WordWrap

 

 


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