You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 27, 2025. It is now read-only.
Occurs when the content of paper needs to be painted.
9
9
10
-
Because the control caches the last paint, you need to call one of the `Invalidate` or `Repaint` methods to enforce occurrence of this event.
10
+
Because the control caches the last paint, an application needs to call one of the `Invalidate` or `Repaint` methods to enforce the occurrence of this event.
When `Annotation` property is `true`, occurs after a page is displayed. The items drawn on the provided canvas will appear over the preview page, but do not appear on print.
8
+
Occurs after a page is displayed if the `Annotation` property is `true`.
9
+
10
+
The items drawn on the provided canvas will appear over the preview page, but do not appear on print.
9
11
10
12
-**`OnBackground: TPreviewPageDrawEvent`**\
11
13
`TPreviewPageDrawEvent = procedure(Sender: TObject; PageNo: Integer; Canvas: TCanvas) of object`\
12
-
When `Background` property is `true`, occurs just before a page being displayed. The items drawn on the provided canvas will appear under the preview page, but do not appear on print.
14
+
Occurs just before a page being displayed if the `Background` property is `true`.
15
+
16
+
The items drawn on the provided canvas will appear under the preview page, but do not appear on print.
13
17
14
18
-**`OnBeginDoc: TNotifyEvent`**\
15
19
Occurs when `BeginDoc` method is called.
@@ -43,12 +47,16 @@ In addition to the standard events of Delphi's `TScrollBox` control, the [TPrint
43
47
44
48
-**`OnProgress: TPreviewProgressEvent`**\
45
49
`TPreviewProgressEvent = procedure(Sender: TObject; Done, Total: Integer) of object`\
46
-
Occurs periodically during the print and save as PDF/TIFF operations. You can check the value of `State` property to determine which operation is generating this event.
50
+
Occurs periodically during the print and save as PDF/TIFF operations.
51
+
52
+
An application can check the value of the `State` property to determine which operation is in progress.
Occurs just before processing a page during the print and save as PDF/TIFF operations. You can check the value of `State` property to determine which operation is generating this event.
57
+
Occurs just before processing a page during the print and save as PDF/TIFF operations.
58
+
59
+
An application can check the value of the `State` property to determine which operation is in progress.
52
60
53
61
The `Choice` parameter can be set to one of the following values:
54
62
@@ -60,8 +68,12 @@ In addition to the standard events of Delphi's `TScrollBox` control, the [TPrint
60
68
61
69
-**`OnPrintAnnotation: TPreviewPageDrawEvent`**\
62
70
`TPreviewPageDrawEvent = procedure(Sender: TObject; PageNo: Integer; Canvas: TCanvas) of object`\
63
-
When `Annotation` property is `true`, occurs after a page is printed. The items drawn on the provided canvas will place over the printed page.
71
+
Occurs after a page is printed if the `Annotation` property is `true`.
72
+
73
+
The items drawn on the provided canvas will place over the printed page.
64
74
65
75
-**`OnPrintBackground: TPreviewPageDrawEvent`**\
66
76
`TPreviewPageDrawEvent = procedure(Sender: TObject; PageNo: Integer; Canvas: TCanvas) of object`\
67
-
When Background property is `true`, occurs just before a page being printed. The items drawn on the provided canvas will place under the printed page.
77
+
Occurs just before a page being printed if the `Background` property is `true`.
78
+
79
+
The items drawn on the provided canvas will place under the printed page.
Copy file name to clipboardExpand all lines: Docs/TPrintPreview.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,7 +20,7 @@ Here are the key features of the [TPrintPreview](TPrintPreview.md) control:
20
20
- allows inserting, replacing, editing, deleting, and reordering of pages freely at any time
21
21
- can save pages as PDF document by using [Synopse PDF Engine](https://github.com/synopse/SynPDF) or [dsPDF Library](https://torry.net/authorsmore.php?id=2851)
Copy file name to clipboardExpand all lines: Docs/TThumbnailPreview.Events.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,12 +21,14 @@ In addition to the standard events of Delphi's `TCustomListView` control, the [T
21
21
22
22
-**`OnPageInfoTip: TPageInfoTipEvent`**\
23
23
`TPageInfoTipEvent = procedure(Sender: TObject; PageNo: Integer; var InfoTip: String) of object`\
24
-
Occurs when the mouse pointer moves over a thumbnail. The event handler can use the `InfoTip` parameter to specify a text to be shown over the thumbnail.
24
+
Occurs when the mouse pointer moves over a thumbnail.
25
+
26
+
The event handler can use the `InfoTip` parameter to specify a text to be shown over the thumbnail.
25
27
26
28
-**`OnPageSelect: TPageNotifyEvent`**\
27
29
`TPageNotifyEvent = procedure(Sender: TObject; PageNo: Integer) of object`\
28
30
Occurs when a page gets selected.
29
31
30
32
-**`OnPageUnselect: TPageNotifyEvent`**\
31
33
`TPageNotifyEvent = procedure(Sender: TObject; PageNo: Integer) of object`\
0 commit comments