|
DigiPara Liftdesigner LDX API
|
API method: ILDXDevConfiguration5.PrimaryLCID64
Treename: Sheets.
' from Samples/Src/LDXAPIExamples/Example_LDXSheets.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Sheets.", "LDXDevConfiguration~PrimaryLCID64", "Change primary and secondary language")>
Public Shared Sub ChangePrimaryAndSecondaryLanguage(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.Configuration Is Nothing Then
MsgBox("Configurations for the sheet not found")
Exit Sub
End If
' Drawing language (Set to english)
ldxDocument.Configuration.PrimaryLCID64 = 2057
' Secondary drawing language (Set to german)
ldxDocument.Configuration.SecondaryLCID64 = 1031
End Sub