DigiPara Liftdesigner LDX API
Loading...
Searching...
No Matches
Clear a report

API method: ILDXDocument5.ClearReport

Treename: Sheets.Components.API example report.Components.Report.

 ' from Samples/Src/LDXAPIExamples/Example_LDXDocument.vb

    <APIHelpAttribute(APIHelpModes.FireCalcModel Or APIHelpModes.LoadLD3File, {APIHelpModes.InputParaLDXApp}, "Sheets.Components.API example report.Components.Report.", "LDXDocument~ClearReport", "Clear a report")>
 Public Shared Sub ClearAReport(ByRef ldxApplication As DigiPara.LDX.LDXApplication)

     If ldxApplication.ActiveDocument Is Nothing Then
         MsgBox("Active document not found!")
         Exit Sub
     End If

     ldxApplication.ActiveDocument.ClearReport("API example report")

 End Sub