Print the entire host screen, or a selected area of text from the screen.
Syntax
FlexScreen.Print([StartPos, EndPos])
Parameters
StartPos |
Integer, input, optional |
|
Integer value of the zero based screen position to start the print, which may be obtained by using the FlexScreen.Position method. |
||
EndPos |
Integer, input, optional |
|
Integer value of the zero based screen position to end the print, which may be obtained by using the FlexScreen.Position method. |
Remarks
The Print method will print to the Windows default printer.
Examples
To print the entire screen:
Sub Main()
Ok = FlexScreen.Print()
End Sub
To print from row 1, column 4 to row 14, column 27:
Sub Main()
Ok = FlexScreen.Print(FlexScreen.Position(1, 4), FlexScreen.Position(14, 27))
End Sub