ComponentOne DataGrid for WPF and Silverlight
C1.Silverlight.DataGrid Namespace / C1DataGrid Class / Print Method / Print(String,ScaleMode,Thickness,Int32,PrinterFallbackSettings,Boolean) Method
Name of the document to print.
How to scale the document to fit the pages.
Margin around the page in pixels.
The maximum number of pages to print.
The settings to use to enable vector printing for printers with limited support.
Whether or not to automatically print to the default printer for the computer without showing a print dialog. This parameter can only be true in trusted applications, otherwise an exception will occur.

In This Topic
    Print(String,ScaleMode,Thickness,Int32,PrinterFallbackSettings,Boolean) Method
    In This Topic
    Prints the grid using a specified scale mode.
    Syntax

    Parameters

    documentName
    Name of the document to print.
    scaleMode
    How to scale the document to fit the pages.
    margin
    Margin around the page in pixels.
    maxPages
    The maximum number of pages to print.
    fallBackSettings
    The settings to use to enable vector printing for printers with limited support.
    useDefaultPrinter
    Whether or not to automatically print to the default printer for the computer without showing a print dialog. This parameter can only be true in trusted applications, otherwise an exception will occur.
    See Also