|
Summary
Transparent printer mode.
Syntax
Boolean Transparent ()
Description
The VtAction property and some methods can be used to configure the printer to be used with the VT220 ActiveX control. The printer font selected by the VT_PRINTER_FONT or PrinterFont method
can be replaced with the default printer font by calling the Transparent method.
The Transparent method takes no parameters and returns a boolean. If the default printer font can be successfully set, then the method returns True; otherwise, it returns False. The application
should ensure that the method was successfully executed by checking the return value.
Calling this method is equivalent to setting the VtAction property to VT_TRANSPARENT. This method can only be called after the VT220 emulation window has been created and initialized.
Example
Result = VT220Client.Transparent () If Result = False Then MsgBox "Cannot set to default printer font", 64, "Sample Program" End If
|