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


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

    Parameters

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