[Overview][Types][Classes][Variables][Index] |
Constructor for the class instance.
Source position: printers.pas line 308
public constructor TPrinter.Create; virtual; |
Create is the constructor for the class instance, and calls the inherited constructor on entry.
Create sets the value in PrinterIndex to -1 which indicates that the default printer in Printers should be used.
Create stores an unassigned value (Nil) in the Canvas, PaperSize, and Bins properties. The Title property is set to an empty String ('').
Remark: | TPrinter is an abstract base class, and an exception is raised if an instance of the class is created. Use one of the descendant classes defined in the printer4lazarus package. |
Raises an exception with the message 'TPrinter is an abstract base class.' when TPrinter is the ClassType for the new instance.
Version 3.2 | Generated 2024-02-25 | Home |