PC-DMIS 2022.1 Object Library
OnReportPrintEnd Event
See Also  Send Topic Feedback | See Object Hierarchy Chart
PartProg
An expression that evaluates to a PartProgram object. This is the measurement routine that the report is generated from.
reportStatus
Boolean value that tells the status of the measurement report. This returns True if the report started to print properly.
PCDLRN ActiveX DLL > ApplicationObjectEvents Object : OnReportPrintEnd Event

Glossary Item Box

Description

This event gets launched when a measurement routine's report finishes printing. This happens whenever these occur: 

  • The Print button from the Report Window finishes printing.
  • The File | Printing | Report Window Print menu item finishes printing.
  • A PRINT command in a measurement routine finishes execution.
  • A measurement routine with automatic printing that is enabled from File | Printing | Report Window | Print Setup finishes printing the report.

Syntax

Visual Basic
Public Event OnReportPrintEnd( _
   ByVal PartProg As PartProgram, _
   ByVal reportStatus As Boolean _
)

Parameters

PartProg
An expression that evaluates to a PartProgram object. This is the measurement routine that the report is generated from.
reportStatus
Boolean value that tells the status of the measurement report. This returns True if the report started to print properly.

Remarks

The OnReportPrintEnd event is also available from the PartProgram object.

See Also

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