FlexCel Studio for VCL/LCL
ContentsIndex
PreviousUpNext
TFlexCelPreview.Init Method

Initializes the preview.

Pascal
procedure Init(const aPrintRange: TXlsCellRange; const aFirstPage: integer = 1; const aLastPage: integer = -1);
C++
__fastcall Init(const TXlsCellRange aPrintRange, const int aFirstPage = 1, const int aLastPage = -1);
Parameters 
Description 
const aPrintRange: TXlsCellRange 
Pass the same range here as you will when you finally call print. 
const aFirstPage: integer = 1 
First page to display in the preview, defaults to 1. 
const aLastPage: integer = -1 
Last page to display in the preview, defaults to -1. (-1 means display up to the last page) 

Call this method always before activating the preview. It will load all parameters from the grid and initialize the preview. 

 

Copyright (c) 2002-2008 TMS Software. All rights reserved.
What do you think about this topic? Send feedback!