Spread WinForms 15
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.DrawingSpace Namespace / SpreadShapesContainer Class / IsShapeInView Method
Shape to check for in view
Top row of view
Left column of view
Bottom row of view
Right column of view


In This Topic
IsShapeInView Method
In This Topic
Determines if a shape is currently within the view determined by the row and column parameters.
Syntax
'Declaration
 
Public Overridable Function IsShapeInView( _
   ByVal shape As PSShape, _
   ByVal topRow As Integer, _
   ByVal leftColumn As Integer, _
   ByVal bottomRow As Integer, _
   ByVal rightColumn As Integer _
) As Boolean
 
'Usage
 
Dim instance As SpreadShapesContainer
Dim shape As PSShape
Dim topRow As Integer
Dim leftColumn As Integer
Dim bottomRow As Integer
Dim rightColumn As Integer
Dim value As Boolean
 
value = instance.IsShapeInView(shape, topRow, leftColumn, bottomRow, rightColumn)

Parameters

shape
Shape to check for in view
topRow
Top row of view
leftColumn
Left column of view
bottomRow
Bottom row of view
rightColumn
Right column of view

Return Value

Returns true if shape is in view; otherwise false
See Also