|
|
|
|
|
SftPrintPreviewRenderingInfo Record/Structure |
Contains information needed to render one page.
Syntax
|
VB.NET |
Structure SftPrintPreviewRenderingInfo
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
VB |
Type SftPrintPreviewRenderingInfo
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
C#.NET |
struct SftPrintPreviewRenderingInfo {
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
VC++ |
struct SftPrintPreviewRenderingInfo {
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
C |
struct SftPrintPreviewRenderingInfo {
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Delphi |
SftPrintPreviewRenderingInfo = record
|
Members
Function
Defines the function the RenderContent event must perform (see SftPrintPreviewRenderContentConstants).
RealPrinter
Set to True if printing to a real printer (i.e., not preview display), False otherwise.
Positioning
Set to True if the RenderContent event is called for formatting purposes only to subsequently render a later page, False otherwise.
hDC
Defines the output device context. All output is rendered using this device context.
hDCPrinter
Defines the printer device context. When generating a preview display, the output device context hDC describes a screen device or metafile context. To query attributes of the actual printer device, the hDCPrinter device context must be used.
hwndContent
Defines the window handle, describing the window to be rendered. Same as ContentProvider property.
hwndData
Defines the window handle, describing the window to be rendered. Same as DataProvider property.
CurrentPage
Defines the current page being rendered. Page numbers are zero-based.
LastPage
Defines the currently last know (visited) page. Page numbers are zero-based.
PageRectPrinterPix
A rectangle describing the dimensions of the page in printer coordinates (in pixels).
PageRectPrinter
A rectangle describing the dimensions of the page (in inches).
PrintableRectPrinterPix
A rectangle describing the dimensions of the physically printable area on the page in printer coordinates (in pixels).
PrintableRectPrinter
A rectangle describing the dimensions of the physically printable area on the page (in inches).
MarginRectPrinterPix
A rectangle describing the dimensions of the printable area, excluding all margins, on the page in printer coordinates (in pixels).
MarginRectPrinter
A rectangle describing the dimensions of the printable area, excluding all margins, on the page (in inches).
ClientRectPix
A rectangle describing the dimensions of the printable area, excluding all margins, on the page in printer coordinates (pixels). This area is available for any application-generated output and reflects the actual output area of the output device context hDC.
ClientRect
A rectangle describing the dimensions of the printable area, excluding all margins, on the page (in inches). This area is available for any application-generated output and reflects the actual output area of the output device context hDC.
OutputRectDisplayPix
A rectangle describing the dimensions of the printable area, excluding all margins, on the page (in pixels).
OutputRectDisplay
A rectangle describing the dimensions of the printable area, excluding all margins, on the page (in inches).
ContentSizing
Desired content sizing as defines using the ContentSizing property.
ContentWidthPix
Reserved for future use. Defines the best width for the current output (in pixels).
ContentWidth
Reserved for future use. Defines the best width for the current output (in inches).
ContentHeightPix
Reserved for future use. Defines the best height for the current output (in pixels).
ContentHeight
Reserved for future use. Defines the best height for the current output (in inches).
MaxContentWidthPix
Reserved for future use. Defines the maximum available width for the current output (in pixels).
MaxContentWidth
Reserved for future use. Defines the maximum available width for the current output (in inches).
MaxContentHeightPix
Reserved for future use. Defines the maximum available height for the current output (in pixels).
MaxContentHeight
Reserved for future use. Defines the maximum available height for the current output (in inches).
RenderingWorkArea
The RenderingWorkArea value is defined using the ContentProviderCallback or ContentProviderCallbackX method and is only valid while handling a RenderContent event. It is used to hold an application-specific value.
PreviousVisitedPageInfo
When the RenderContent event is called with a Function of renderSftPrintPreview_1Page, the information returned as the VisitedPageInfo value in the RenderContent event for the preceding page is available to the application in the PreviousVisitedPageInfo member.
VisitedPageInfo
When the RenderContent event is called with a Function of renderSftPrintPreview_1Page, the information returned as the VisitedPageInfo value in the RenderContent event for the current page CurrentPage during a prior RenderContent event is made available.