InfoConnect for Airlines
GetHistoryScreenImage Method
Example 


The zero-based index of the history screen to capture. This must be a value between 0 and Count-1.
Returns a history screen as an image.
Syntax
'Declaration
 
Function GetHistoryScreenImage( _
   ByVal index As Integer _
) As Byte()
'Usage
 
Dim instance As IScreenHistory
Dim index As Integer
Dim value() As Byte
 
value = instance.GetHistoryScreenImage(index)
byte[] GetHistoryScreenImage( 
   int index
)

Parameters

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

Return Value

An image of the specified history screen.
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException This exception is thrown if the index does not correspond to a valid screen index in the current Screen History list.
Remarks
Returned images are subject to currently configured privacy filters. The returned image can be used in conjunction with the Productivity.OfficeTools CreateWordProcessingDocumentWithGraphicSet method if the installed Office Suite and Office Tools adapter assembly support the use of graphics in word-processing documents.
Example
This sample uses GetHistoryScreenImage to save the screens in the Screen History list as images in a Word document before the session is disconnected.

	
See Also