LayoutElement.GetRelativeBounds(LayoutElement) Method
In This Article
Gets coordinates of the specified layout element relative to its container.
Namespace: DevExpress.XtraRichEdit.API.Layout
Assembly: DevExpress.RichEdit.v24.2.Core.dll
NuGet Package: DevExpress.RichEdit.Core
#Declaration
Rectangle GetRelativeBounds(
LayoutElement element
)
#Parameters
Name | Type | Description |
---|---|---|
element | Layout |
A Layout |
#Returns
Type | Description |
---|---|
Rectangle | A Rectangle structure specifying the coordinates of the layout element measured in twips. |
#Remarks
If the current layout element contains the specified layout element, the GetRelativeBounds method returns a rectangle with coordinates calculated relative to the current layout element.
See Also