TCnPageSettings Class
Specifies settings that apply to a single, printed page.
type TCnPageSettings = class(TClrBaseComponent) end;
The TCnPageSettings type exposes the following members.
Name | Description | |
---|---|---|
![]() | Create(TComponent) | Creates and initializes a TCnPageSettings instance. (Overrides TClrBaseComponent.Create(TComponent).) |
![]() | Destroy | Frees the resources allocated with a TCnPageSettings instance. (Overrides TClrBaseComponent.Destroy.) |
Name | Description | |
---|---|---|
![]() | Bounds | Gets the size of the page, taking into account the page orientation specified by the Landscape property. |
![]() | Color | Gets or sets a value indicating whether the page should be printed in color. |
![]() | DefaultClrObject | Get the common language runtime object interface for this component. (Inherited from TClrBaseComponent.) |
![]() | HardMarginX | Gets the x-coordinate, in hundredths of an inch, of the hard margin at the left of the page. |
![]() | HardMarginY | Gets the y-coordinate, in hundredths of an inch, of the hard margin at the top of the page. |
![]() | Landscape | Gets or sets a value indicating whether the page is printed in landscape or portrait orientation. |
![]() | Margins | Gets or sets the margins for this page. |
![]() | PageSettingsIntf | Get .Net PageSettings object as interface. |
![]() | PaperSize | Gets or sets the paper size for the page. |
![]() | PaperSource | Gets or sets the page's paper source; for example, the printer's upper tray. |
![]() | PrintableArea | Gets the bounds of the printable area of the page for the printer. |
![]() | PrinterResolution | Gets or sets the printer resolution for the page. |
![]() | PrinterSettings | Gets or sets the printer settings associated with the page. |
Name | Description | |
---|---|---|
![]() | CopyToHdevmode(_IntPtr) | Copies the relevant information from the PageSettings to the specified DEVMODE structure. |
![]() | Dispose | Releases the resources used by the Component. (Inherited from TClrBaseComponent.) |
![]() | DoGetDefaultClrObject | Represents method |
![]() | DoGetDotNetBaseComponent | Represents method |
![]() | DoOnMarginChanged(TObject) | Represents method |
![]() | DoOnPaperSizeChanged(TObject) | Represents method |
![]() | DoOnPaperSourceChanged(TObject) | Represents method |
![]() | DoOnPrinterResolutionChanged(TObject) | Represents method |
![]() | GetClrObject | Represents method |
![]() ![]() | LoadPaperNames(TStrings) | Loads the paper names from the default printer. |
![]() ![]() | LoadPaperSources(TStrings) | Loads the paper sources from the default printer. |
![]() | Notification(TComponent,TOperation) | Represents method |
![]() | RegisterEventCallBack(ClrWString,Pointer) | Add an event to the instance using the specified event name and function pointer which is the event handler. The RegisterEventCallBack method does not directly add the event handler to the event. A hooking mechanism is used such that if the event is fired, the hook event is also fired which in turn calls the function pointer. (Inherited from TClrBaseComponent.) |
![]() | RegisterEventSource | Register the Delphi object which will raise the .Net event handler. (Inherited from TClrBaseComponent.) |
![]() | SetHdevmode(_IntPtr) | Copies relevant information to the PageSettings from the specified DEVMODE structure. |
![]() | UnRegisterEventCallBack(ClrWString,Pointer) | Remove an event from the instance using the specified event name and function pointer which is the event handler. (Inherited from TClrBaseComponent.) |
![]() | UnRegisterEventSource | Unregister the Delphi object which raised the .Net event handler. (Inherited from TClrBaseComponent.) |
See C:\Users\Public\Documents\CrystalNet Technologies\.Net VCL for Delphi Demo Folder after installation for examples of how to use this component.