|
|
|
|
|
SftPrintPreview.Restart Method |
Forces the repositioning of all preview pages and clearing of any cached information.
Syntax
|
VB.NET |
object.Restart(ByVal Style As SftPrintPreviewRestartConstants) |
||
|
VB |
object.Restart(ByVal Style As SftPrintPreviewRestartConstants) |
||
|
C#.NET |
void object.Restart(SftPrintPreviewRestartConstants Style); |
||
|
VC++ |
HRESULT object->Restart(enum SftPrintPreviewRestartConstants Style); |
||
|
C |
HRESULT object->raw_Restart(enum SftPrintPreviewRestartConstants Style); |
||
|
Delphi |
procedure object.Restart(Style : TOleEnum); |
object
A SftPrintPreview object.
Style
Defines the type of repositioning and clearing of cached information.
|
Name |
Value |
Description |
|
0 |
Complete - Repositions all pages, all pages are invalid and clears all cached information. |
|
|
1 |
Top - Repositions all pages and displays the first page. |
|
|
2 |
Bottom - Repositions all pages and displays the last page. |
|
|
3 |
Current Page - The current page is invalid and clears cached information for the current page. |
|
|
4 |
All Pages - All pages are invalid and clears all cached information. |
Comments
The Restart method forces the repositioning of all preview pages and clearing of any cached information.
This method is typically used if printer attributes or page formatting change, which requires all pages to be reformatted.