PrintEvents method (AlarmSummary object)
Prints the current page of events, or all events. By default, prints only the current page of events.
Syntax
object
.PrintEvents
([PrintRange
as ftasPrintRangeConstants
], [ShowPrintDialog
Boolean
])where
object
—
the name of an AlarmEventSummary object.PrintRange
—
optional parameter that controls whether only the current page of events is printed, or all events are printed. The default is to print the current page.ShowPrintDialog
—optional parameter that controls whether the Windows Print
dialog is displayed before printing begins. The default is to show the Windows Print
dialog.- TRUE. The default value is TRUE. If ShowPrintDialog = TRUE, then a WindowsPrintdialog opens and offers users the print range options of 'Current Page' and 'All'.
- FALSE. If ShowPrintDialog = FALSE, then the WindowsPrintdialog is NOT displayed before printing begins. The print range matches the value of the PrintRange parameter. Events print to the last printer that was selected; if there is no last printer selected, then the events print to the default printer.
Possible errors
- ftasErrorInvalidParmValue
Provide Feedback