[]
        
(Showing Draft Content)

FarPoint.Win.Spread.FpSpread.GetOwnerPrintPageCount

GetOwnerPrintPageCount Method

GetOwnerPrintPageCount(Graphics, Rectangle, int)

Gets the number of pages required to print a given sheet into the supplied rectangle.

Declaration
public int GetOwnerPrintPageCount(Graphics g, Rectangle rect, int sheet)
Public Function GetOwnerPrintPageCount(g As Graphics, rect As Rectangle, sheet As Integer) As Integer
Parameters
Type Name Description
Graphics g

Graphics object that handles printing

Rectangle rect

Rectangle area that represents the area for printing

int sheet

Sheet to print

Returns
Type Description
int