|
DigiPara Liftdesigner LDX API
|
API method: ILDXObjectStorages5.GetText
Treename: Sheets.Storage.API example storage text
' from Samples/Src/LDXAPIExamples/Example_LDXObjectStorages.vb
<APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXDoc}, "Sheets.Storage.API example storage text", "LDXObjectStorages~GetText", "Get storages")>
Public Shared Sub GetStorages(ByRef ldxDocument As DigiPara.LDX.LDXDocument)
If ldxDocument.GetLDXObject("Sheets.Storage.") Is Nothing Then
MsgBox("Sheet storages not found!")
Exit Sub
End If
AddStorages(ldxDocument)
Dim sheetsStorages As DigiPara.LDX.LDXObjectStorages = ldxDocument.Sheets.Object.GetStorages()
' retrieve storages
Dim textValue As String = sheetsStorages.GetText(textKey)
Dim dimValue As Double = sheetsStorages.GetDim(dimKey)
MsgBox("textValue = " & textValue & ", dimValue = " & dimValue)
End Sub