Links
EControl Syntax Editor SDK
TecCustomPreview Class

Print preview control.

TecCustomPreview = class(TCustomControl);

ecPrint

Preview control is intended to preview printed pages. You can change zoom mode, zoom and navigate through pages. 

As example of using preview control see ecPreviewFm.pas file (default preview form) in source code of the library.

Topic 
Description 
The methods of the TecCustomPreview class are listed here. 
The properties of the TecCustomPreview class are listed here. 
The events of the TecCustomPreview class are listed here. 
 
Method 
 
protected 
 
virtual 
 
Property 
 
read only 
 
Event 
TecCustomPreview Events 
Description 
Occurs when the current page of the preview control changes. 
Occurs when the zoom of the preview control changes. 
TecCustomPreview Methods 
Description 
Updates scrollbars of the preview control. 
Calculates page size in screen units. 
Creates and initializes a TecCustomPreview instance. 
Draws single page. 
Updates preview control. 
TecCustomPreview Properties 
Description 
Determines whether the preview control has a single line border around the client area. 
Page 
Current page. 
Number of pages. 
Specifies number of pages simultaneously displayed in preview. 
Offset of the page origin. 
Specifies printer, contents of which are previewed. 
Zoom 
Specifies current zoom in percents. 
Specifies zoom mode. 
Copyright (c) 2004-2011. All rights reserved.
What do you think about this topic? Send feedback!