Copies the area from the PASSPORT presentation space and writes it to a file
ret = WritePSToFile (FileName, StartRow, StartColumn, EndRow, EndColumn)
ret | Integer,output |
0 = OK | |
Non zero = Error | |
FileName | String, input |
The file the text is written to. | |
StartRow | Integer, input |
The starting row position in the PASSPORT screen. | |
StartColumn | Integer, input |
The starting column position in the PASSPORT screen. | |
EndRow | Integer, input |
The ending row position in the PASSPORT screen. | |
EndColumn | Integer,Input |
The ending column position in the PASSPORT screen. |
The PASSPORT presentation space is the same as the PASSPORT terminal emulation screen area.
Note: If the target file exists, it will be overwritten.
This is a PASSPORT command.
Example
Sub
ZMain()
WritePSToFile "c:\test.txt",1,1,24,80
End Sub