ComponentOne True DBGrid Pro 8
PrintInfo Object, PrintInfos Collection

The PrintInfo object is used to specify page layout and print job characteristics such as the name of the output device, margin settings, page headers and footers, and the number of copies to print. When a TDBGrid control is first created, its PrintInfos collection contains a single PrintInfo object representing the system default printer.

The PrintInfo property of a TDBGrid control returns the default member of its PrintInfos collection. Through this default member, you can access the PageSetup, PrintData, and PrintPreview methods in code.

The PrintInfos collection is persistent, which means that you can define multiple print layouts at design time, then recall them in code at run time.

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback