UiaAtkBridge.ComponentImplementorHelper.GetPosition C# (CSharp) Method

GetPosition() public method

public GetPosition ( int &x, int &y, Atk coordType ) : void
x int
y int
coordType Atk
return void
		public void GetPosition (out int x, out int y, Atk.CoordType coordType)
		{
			x = (int)resource.BoundingRectangle.X;
			y = (int)resource.BoundingRectangle.Y;
			if (coordType == Atk.CoordType.Window)
				resource.ConvertCoords (ref x, ref y, false);
		}

Usage Example

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