PC-DMIS 2022.1 Object Library
PrintReport Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL > ReportWindow Object : PrintReport Method

Glossary Item Box

Description

This method prints the contents of the Report window.

Syntax

Visual Basic
Public Function PrintReport() As Long

Return Type

Long value. This returns -1 (or True) if the function succeeds and 0 (or False) if it does not.

Example

Sub Main

Dim App As Object

Dim PartProg As Object

Dim RepWin As Object

Set App = CreateObject("Pcdlrn.Application")

Set PartProg = App.ActivePartProgram

Set RepWin = PartProg.ReportWindow

 

' Prints the contents of the Report window

RepWin.PrintReport

End Sub

See Also

Copyright © 2022. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.