Reflection Desktop VBA Guide
Attachmate.Reflection.Objects Library / Attachmate.Reflection.Objects.Productivity Library / ScreenHistory Object / GetHistoryScreenImage Method
The zero-based index of the history screen to capture. This must be a value between zero and Count-1.
GetHistoryScreenImage Method
Returns a history screen as an image.
Syntax
expression.GetHistoryScreenImage( _
   ByVal index As Integer _
) As Byte()
where expression is a variable that represents a ScreenHistory Object

Parameters

index
The zero-based index of the history screen to capture. This must be a value between zero and Count-1.

Return Value

An image of the specified history screen.
Exceptions
ExceptionDescription
Thrown if index does not correspond to a valid screen index in the current Screen History.
Remarks
The returned image can be used in conjunction with the Productivity.OfficeTools CreateWordProcessingDocumentWithGraphicSet method, provided that the installed Office Suite and installed Office Tools adapter assembly support graphics in word-processing documents.

The returned image is subject to currently configured privacy filters.

See Also