Spread Windows Forms 6.0 Product Documentation
GetViewportRectangle Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SpreadView Class : GetViewportRectangle Method


rowViewportIndex
Viewport row index
columnViewportIndex

Glossary Item Box

Gets the rectangle of the viewport.

Syntax

Visual Basic (Declaration) 
Public Function GetViewportRectangle( _
   ByVal rowViewportIndex As Integer, _
   ByVal columnViewportIndex As Integer _
) As Rectangle
Visual Basic (Usage)Copy Code
Dim instance As SpreadView
Dim rowViewportIndex As Integer
Dim columnViewportIndex As Integer
Dim value As Rectangle
 
value = instance.GetViewportRectangle(rowViewportIndex, columnViewportIndex)
C# 
public Rectangle GetViewportRectangle( 
   int rowViewportIndex,
   int columnViewportIndex
)

Parameters

rowViewportIndex
Viewport row index
columnViewportIndex

Return Value

Rectangle object containing the rectangle of the specified viewport

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

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