expression.PrintScreen( _ ByVal option As PrintScreenOption, _ ByVal copies As Integer _ ) As ReturnCode
where expression is a variable that represents a IbmScreen Object
Parameters
- option
- Print option. see PrintScreenOption Enumeration for more information.
- copies
- The number of copies. The range for this argument is 1-99.
Return Value
One of the following ReturnCode enum values.
Member | Description |
---|---|
Cancelled | Cancelled. |
Error | Error. |
PermissionRequired | Permission is required. |
Success | Success. |
Timeout | Timeout condition. |
Truncated | The text is truncated. |