Spread Windows Forms 15.0
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / FpSpread Class / GetOwnerPrintInfo Method
Graphics object that handles printing
Rectangular area that represents the area for printing
Sheet to print


In This Topic
    GetOwnerPrintInfo Method
    In This Topic
    Gets the printing information required to print a given sheet into the supplied rectangle.
    Syntax
    'Declaration
     
    
    Public Function GetOwnerPrintInfo( _
       ByVal g As Graphics, _
       ByVal rect As Rectangle, _
       ByVal sheet As Integer _
    ) As OwnerPrintInfo
    'Usage
     
    
    Dim instance As FpSpread
    Dim g As Graphics
    Dim rect As Rectangle
    Dim sheet As Integer
    Dim value As OwnerPrintInfo
     
    value = instance.GetOwnerPrintInfo(g, rect, sheet)
    public OwnerPrintInfo GetOwnerPrintInfo( 
       Graphics g,
       Rectangle rect,
       int sheet
    )

    Parameters

    g
    Graphics object that handles printing
    rect
    Rectangular area that represents the area for printing
    sheet
    Sheet to print
    See Also