Spread Windows Forms 7.0 Product Documentation
GetOwnerPrintInfo Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > FpSpread Class : GetOwnerPrintInfo Method


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

Glossary Item Box

Gets the printing information required to print a given sheet into the supplied rectangle.

Syntax

Visual Basic (Declaration) 
Public Function GetOwnerPrintInfo( _
   ByVal g As Graphics, _
   ByVal rect As Rectangle, _
   ByVal sheet As Integer _
) As OwnerPrintInfo
Visual Basic (Usage)Copy Code
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)
C# 
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

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

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.