TPaperSize class
Size for a paper used on an attached printer device.
Declaration
TPaperSize = class(TObject)Inheritance
- TPaperSize
- TObject
Description
TPaperSize represents paper size information for an attached
printer device. It provides an internal reference to the printer device
passed to the Create constructor, and allows the TPrinter instance to be
queried to retrieve its supported paper names and sizes.
TPaperSize provides properties which identify the paper by name, a list of paper names supported for the printer device, and provides access to the physical and logical size information for each. The physical size contains the bounds for the paper size. The logical paper size (or work rectangle) contains the bounds for the usable print area for the paper size. Bounds values are expressed as dots per inch (DPI).
TPaperSize is the type used to implement the PaperSize property in TPrinter.
See also
Properties
DefaultPapers | public | Indicates if default paper sizes have been defined and added to SupportedPapers. |
Width | public | Physical width for the paper size. |
Height | public | Physical height for the paper size. |
PaperName | public | The name used for the paper size, like Legal or Letter. |
DefaultPaperName | public | The default paper name used when not selected or available in the printer device. |
PaperRect | public | The physical and logical dimension rectangles for the paper size. |
SupportedPapers | public | The list of supported paper names for the attached printer device. |
PaperRectOf | public | Gets the dimension for a supported paper with the specified name. |
Methods
Create | public | Constructor for the class instance. |
Destroy | public | Destructor for the class instance. |
Inherited
From TObject (40)
AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
