Spread Windows Forms 8.0 Product Documentation
OwnerPrintDraw(Graphics,Rectangle,Int32,Int32,OwnerPrintInfo) Method


Graphics device that handles printing
Location and size of a rectangular region
Sheet from which to print
Specific page of the sheet to print
Prints the specified page of the specified sheet to a specified graphics interface with the specified size.
Syntax
'Declaration
 
Public Overloads Sub OwnerPrintDraw( _
   ByVal g As Graphics, _
   ByVal rect As Rectangle, _
   ByVal sheet As Integer, _
   ByVal page As Integer, _
   ByVal info As OwnerPrintInfo _
) 
'Usage
 
Dim instance As FpSpread
Dim g As Graphics
Dim rect As Rectangle
Dim sheet As Integer
Dim page As Integer
Dim info As OwnerPrintInfo
 
instance.OwnerPrintDraw(g, rect, sheet, page, info)
public void OwnerPrintDraw( 
   Graphics g,
   Rectangle rect,
   int sheet,
   int page,
   OwnerPrintInfo info
)

Parameters

g
Graphics device that handles printing
rect
Location and size of a rectangular region
sheet
Sheet from which to print
page
Specific page of the sheet to print
info
Exceptions
ExceptionDescription
System.ArgumentOutOfRangeException Specified sheet index is out of range; must be between zero and the total number of sheets
System.ArgumentOutOfRangeException Specified page index is out of range; must be greater than one
Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

Reference

FpSpread Class
FpSpread Members
Overload List

 

 


Copyright © GrapeCity, inc. All rights reserved.