Search
Calendar.GetElementBounds Method
See Also
 






Gets the bounding rectangle of a particular calendar element.

Namespace: MindFusion.Scheduling
Assembly: MindFusion.Scheduling

 Syntax

C#  Copy Code

public Rect GetElementBounds (
    CalendarElement element,
    int index
)

Visual Basic  Copy Code

Public Function GetElementBounds( _
    element As CalendarElement, _
    index As Integer _
) As Rect

 Parameters

element

The type of the element whose bounds to retrieve.

index

The index of the element, if there is more than one element of the specified type.

 Return Value

The bounding rectangle of the specified element or Rectangle.Zero if the element is either not present in the current view or not visible in the current viewport.

 See Also