Spread Windows Forms 17
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet.Slicers Namespace / Slicer Class / GetItemRect Method
Boundary of container.
The index of item.
The item size.
Zoom scale.


In This Topic
    GetItemRect Method
    In This Topic
    Get the boundary of slicer item.
    Syntax
    'Declaration
     
    
    Public Function GetItemRect( _
       ByVal itemsRect As Rectangle, _
       ByVal idx As Integer, _
       ByVal itemSize As Size, _
       ByVal zoomFactor As Single _
    ) As Rectangle
    'Usage
     
    
    Dim instance As Slicer
    Dim itemsRect As Rectangle
    Dim idx As Integer
    Dim itemSize As Size
    Dim zoomFactor As Single
    Dim value As Rectangle
     
    value = instance.GetItemRect(itemsRect, idx, itemSize, zoomFactor)

    Parameters

    itemsRect
    Boundary of container.
    idx
    The index of item.
    itemSize
    The item size.
    zoomFactor
    Zoom scale.
    See Also