UiaAtkBridge.ComponentImplementorHelper.GetExtents C# (CSharp) Method

GetExtents() public method

public GetExtents ( int &x, int &y, int &width, int &height, Atk coordType ) : void
x int
y int
width int
height int
coordType Atk
return void
		public void GetExtents (out int x, out int y, out int width, out int height, Atk.CoordType coordType)
		{
			x = int.MinValue;
			y = int.MinValue;
			if (resource.RefStateSet ().ContainsState (Atk.StateType.Showing))
				GetPosition (out x, out y, coordType);
			width = (int)resource.BoundingRectangle.Width;
			height = (int)resource.BoundingRectangle.Height;
		}

Usage Example

Ejemplo n.º 1
0
 public virtual void GetExtents(out int x, out int y, out int width, out int height, Atk.CoordType coordType)
 {
     componentExpert.GetExtents(out x, out y, out width, out height, coordType);
 }