Add Method (DesignerLanguages)
Add a design language to be able to localize reports in the Designer.
Below the three languages German, English and French are added as a design language to the Designer.
// Define LCIDs
int designerLanguageLCIDde = new CultureInfo("de").LCID;
int designerLanguageLCIDen = new CultureInfo("en").LCID;
int designerLanguageLCIDfr = new CultureInfo("fr").LCID;
// Add/declare the available design languages in the Designer
// according to their respective LCID
LL.DesignerWorkspace.DesignerLanguages.Add(designerLanguageLCIDde);
LL.DesignerWorkspace.DesignerLanguages.Add(designerLanguageLCIDen);
LL.DesignerWorkspace.DesignerLanguages.Add(designerLanguageLCIDfr);
' Define LCIDs
Dim designerLanguageLCIDde As Integer = New CultureInfo("de").LCID
Dim designerLanguageLCIDen As Integer = New CultureInfo("en").LCID
Dim designerLanguageLCIDfr As Integer = New CultureInfo("fr").LCID
' Add/declare the available design languages in the Designer
' according to their respective LCID
LL.DesignerWorkspace.DesignerLanguages.Add(designerLanguageLCIDde)
LL.DesignerWorkspace.DesignerLanguages.Add(designerLanguageLCIDen)
LL.DesignerWorkspace.DesignerLanguages.Add(designerLanguageLCIDfr)
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9