[Overview][Types][Classes][Variables][Index] |
Ensures that RawMode contains the specified value.
Source position: printers.pas line 301
protected procedure TPrinter.CheckRawMode( |
const Value: Boolean; |
Msg: string = '' |
); |
Value |
|
Value required in the RawMode property. |
Msg |
|
Message text for an exception raised in the method. |
CheckRawMode is a procedure used to ensure that the RawMode property contains the specified Value. If RawMode does not have the requested value, an EPrinter exception is raised. Msg contains the message text for the exception. When Msg is not specified, or contains an empty string (''), a default message is used:
CheckRawMode is called when getting the value for the Canvas property.
Raises an EPrinter exception when RawMode does not contain the required value.
|
Indicates if raw output is used for the device (as opposed to a page description language). |
|
|
The Canvas to be used for laying out the current document ready for printing. |
|
|
Exception raised for errors in TPrinter methods. |
Version 3.2 | Generated 2024-02-25 | Home |