<
ComponentOne OLAP for WPF and Silverlight
C1.Silverlight.FlexGrid Namespace / C1FlexGrid 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
    'Declaration
     
    Public Overloads Sub Print( _
       ByVal docName As String, _
       ByVal scaleMode As ScaleMode, _
       ByVal margin As Thickness, _
       ByVal maxPages As Integer, _
       ByVal fallBackSettings As PrinterFallbackSettings, _
       ByVal useDefaultPrinter As Boolean _
    ) 

    Parameters

    docName
    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