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 As PSShape, _
ByVal As Integer, _
ByVal leftColumn As Integer, _
ByVal 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)
public virtual bool IsShapeInView(
PSShape ,
int ,
int leftColumn,
int ,
int 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