GetAbsoluteWidth
Last updated
Was this helpful?
GetAbsoluteWidth() is obsolete. Use the AbsoluteWidth property instead.
Returns the width of the calling GraphicalUiElement in pixels. This can be used to get the actual width of instance even if it is using a Width Units that is not pixels.
The following code gets the absolute width of a Text instance:
// Initialize
// Assuming TextInstance is a valid instance:
var absoluteWidth = TextInstance.GetAbsoluteWidth();Last updated
Was this helpful?
Was this helpful?

