InfoConnect for Airlines
GetLiveScreenImage Method
Example 


Returns the live screen as an image.
Syntax
'Declaration
 
Function GetLiveScreenImage() As Byte()
'Usage
 
Dim instance As IScreenHistory
Dim value() As Byte
 
value = instance.GetLiveScreenImage()
byte[] GetLiveScreenImage()

Return Value

The live screen, in image format.
Remarks
Returned images are subject to currently enforced privacy filters.

This method can be used in conjunction with the NewScreenReady event to build a list of screen images.

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.

Returns the live screen as an image.
Example
This samples handles the NewScreenReady event and GetLiveScreenImage to create a list of screen images that include only screens on the Kayak program. Then it uses the CreateWordProcessingDocumentWithGraphicSet method to save the images in a Word document.

	
See Also