True DBGrid for WinForms | ComponentOne
C1.Win.C1TrueDBGrid.4.5.2 Assembly / C1.Win.C1TrueDBGrid Namespace / PrintInfo Class
Properties Methods


In This Topic
    PrintInfo Class Members
    In This Topic

    The following tables list the members exposed by PrintInfo.

    Public Properties
     NameDescription
    Public PropertyGets or sets a value indicating how empty space left on a printed page is handled.  
    Public PropertyGets or sets a value indicating how grid lines are rendered.  
    Public PropertyGets or sets the maximum row height in hundredths of an inch (used if VarRowHeight is PrintInfo.RowHeightEnum.StretchToMax).  
    Public PropertyGets or sets the type of device that is used to provide reference graphics when generating the document. If this property is set to PrintInfo.MeasurementDeviceEnum.Printer, MeasurementPrinterName specifies the printer.  
    Public PropertyGets or sets the name of the printer that is used to provide reference graphics when generating the document.

    This property is only used if MeasurementDevice is set to PrintInfo.MeasurementDeviceEnum.Printer.

    Set this property to null to select the reference printer automatically.

     
    Public PropertyGets or sets a value indicating whether the grid in Form view style is printed each record per page.  
    Public PropertyGets or sets a value indicating whether the page footer is owner-drawn.  
    Public PropertyGets or sets a value indicating whether the page header is owner-drawn.  
    Public PropertyGets or sets the horizontal page break mode.  
    Public PropertyGets or sets a string to be printed at the bottom of each page.  
    Public PropertyGets or sets the page footer height in hundredths of an inch.  
    Public PropertyGets or sets the style used to render the page footer.  
    Public PropertyGets or sets the string to be printed at the top of each page.  
    Public PropertyGets or sets the height of the Page header.  
    Public PropertyGets or sets the style used to render the page header.  
    Public PropertyGets or sets the PageSettings for printing.  
    Public PropertyGets or sets the class name of the form used as the preview form.  
    Public PropertyGets or sets a value indicating whether to print checkbox icons instead of boolean values.  
    Public PropertyGets or sets a value whether to print a grid if it has no data rows.  
    Public PropertyGets or sets a value indicating whether horizontal splits are previewed and printed.  
    Public PropertyGets or sets the class name of the form used as the print options dialog.  
    Public PropertyGets or sets the caption of the print progress dialog.  
    Public PropertyGets or sets a value indicating whether column footers should appear on each page.  
    Public PropertyGets or sets a value indicating whether column headers should appear on each page.  
    Public PropertyGets or sets a value indicating whether the grid caption should appear on each page.  
    Public PropertyGets or sets a value inidcating whether split captions should appear on each page.  
    Public PropertyGets or sets a value indicating whether the grid rows can split between pages.  
    Public PropertyGets or sets a value indicating whether the options dialog is displayed when the grid is printed or exported.  
    Public PropertyGets or sets a value indicating whether the progress dialog is displayed when the grid is printed or exported.  
    Public PropertyGets or sets a value indicating whether selected cells will be highlighted when previewing or printing.  
    Public PropertyGets or sets a value indicating whether the grid's color scheme is translated to the print page.  
    Public PropertyGets or sets a value indicating how row height of the printed grid is determined.  
    Public PropertyGets or sets a value that controls how text is wrapped in a cell.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Prints the grid.  
    Public MethodOpens a separate modal window in which end users can preview the output that would be generated by the print operation.  
    Public MethodOverloaded. Saves the current grid to a memory stream.

    The stream's Position is set to 0 when the method returns.

     
    Public MethodOverloaded. Saves the current grid as a file, which can later be loaded into a C1PrintDocument.

    Note that unlike most other print/export methods, this method does not require C1.PrintDocument assemblies.

     
    Public MethodOverloaded. Saves the current grid as a C1D file, which can later be loaded into a C1PrintDocument.

    Note that unlike most other print/export methods, this method does not require C1.PrintDocument assemblies.

     
    Public MethodIndicates whether the PageSettings property should be serialized.  
    Public Method  
    Top
    Protected Methods
     NameDescription
    Protected MethodResets the PreviewFormClassName property to its default value.  
    Protected MethodResets the PrintOptionsFormClassName property to its default value.  
    Protected MethodIndicates whether the PreviewFormClassName property should be serialized.  
    Protected MethodIndicates whether the PrintOptionsFormClassName property should be serialized.  
    Top
    See Also