[About] Version=1.0 Author=Nic Mail=support@hiasm.com [Type] Class=Element Info=A helper class to easily print an ListView. [Property] @ListView=Sets the ListView to be printed|20|(empty)|ListView ##Behaviour=Behaviour properties @IsTextOnly=Sets the value indicating whether don't print images on the primary column. ARG(bool)|14|1|True,False @IsShrinkToFit=Sets the value indicating whether to fit into the width of a page. ARG(bool)|14|1|True,False @IsPrintSelectionOnly=Sets the value indicating whether to print only include the selected rows in the listview. ARG(bool)|14|1|True,False @UseColumnDisplayOrder=Sets the value indicating whether to use the column order as the user sees them. ARG(bool)|14|0|True,False @AlwaysCenterListHeader=Sets the value indicating whether to align by centered column headings. ARG(bool)|14|0|True,False @IsListHeaderOnEachPage=Sets the value indicating whether to print a listview headings at the top of each page. ARG(bool)|14|0|True,False @FirstPage=Sets the first page of the report that should be printed. ARG(int)|1|0 @LastPage=Sets the last page of the report that should be printed ARG(int)|1|9999 ## ##Appearance=Formatting properties @HeaderFormat=How should the page header be formatted? Empty means no page header will be printed. ARG(BlockFormat)|20|(empty)|BlockFormat @ListHeaderFormat=How should the list header be formatted? Empty means no list header will be printed. ARG(BlockFormat)|20|(empty)|BlockFormat @GroupHeaderFormat=How should the grouping header be formatted? Empty means revert to reasonable default. ARG(BlockFormat)|20|(empty)|BlockFormat @CellFormat=How should the list cells be formatted? Empty means revert to default. ARG(BlockFormat)|20|(empty)|BlockFormat @FooterFormat=How should the page footer be formatted? Empty means no footer will be printed. ARG(BlockFormat)|20|(empty)|BlockFormat @ListFont=What font will be used to draw the text of the list? ARG(Font)|15| @ListGridPen=What pen will be used to draw the cells within the list? If this is empty, no grid will be drawn. ARG(Pen)|20|(empty)|Pen @ListGridColor=What color will all the borders be drawn in? ARG(Color)|8|clDefault @Header=Sets the string that will be written at the top of each page. Use '\\t' characters to separate left, centre, and right parts of the header. ARG(string)|2| @Footer=Sets the string that will be written at the bottom of each page. Use '\\t' characters to separate left, centre, and right parts of the footer. ARG(string)|2| @Watermark=Sets the watermark that will be printed translucently over the report itself. ARG(string)|2| @WatermarkFont=What font should be used to print the watermark? ARG(Font)|15| @WatermarkColor=What color should be used for the watermark? ARG(Color)|8|clDefault @WatermarkTransparency=How transparent should the watermark be? 0 is transparent, 100 is completely opaque. ARG(int)|1|50 ## [Methods] doPageSetup=Show a Page Setup dialog to customize the printing of this document. ARG()|1|0 doPrintPreview=Show a Print Preview of this document. ARG()|1|0 doPrintWithDialog=Print this document after showing a confirmation dialog. ARG()|1|0 PageNumber=Returns the number of the page that is currently being printed. ARG(int)|3|1 IsShowingGroups=Returns the value indicating that Groups can't be shown when we are printing selected rows only. ARG(bool)|3|104