See Also

Viewer Class  | Viewer Members  | Localizing the Viewer Control

Language

Visual Basic

C#

Show All

value
The localization resource manager.
See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

Localize Property

Sets the value of the localization resource manager used to modify the text throughout the viewer's user interface.

[Visual Basic]
Public WriteOnly Property Localize( _    ByVal value As ResourceManager _ )
[C#]
public void Localize(    ResourceManager value ); {set;}

Parameters

value
The localization resource manager.

Example

[C#] 

private void Form1_Load(object sender, System.EventArgs e) 
{     
    ResourceManager res = new ResourceManager("rptLocalize.localization", this.GetType().Assembly);     
    this.viewer1.Localize = res;     
    rptLocalize rpt = new rptLocalize();     
    viewer1.Document = rpt.Document;     
    rpt.Run(true); 
}

[Visual Basic] 

Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Dim res As New ResourceManager("rptLocalize.localization", Me.GetType().Assembly)
    Me.Viewer1.Localize = res
    Dim rpt As New rptLocalize()
    Viewer1.Document = rpt.Document
    rpt.Run(True)
End Sub

See Also

Viewer Class  | Viewer Members  | Localizing the Viewer Control

 

 


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