public Interop.POINT TransformPoint(Interop.POINT pPoint, Interop.COORD_SYSTEM eSource, Interop.COORD_SYSTEM eDestination, IElement element) { Interop.IHTMLElement pIElement = element.GetBaseElement(); ds.TransformPoint(ref pPoint, eSource, eDestination, pIElement); return(pPoint); }
public Interop.RECT TransformRect(Interop.RECT pRect, Interop.COORD_SYSTEM eSource, Interop.COORD_SYSTEM eDestination, IElement element) { Interop.IHTMLElement pIElement = ((IElement)element).GetBaseElement(); ds.TransformRect(ref pRect, eSource, eDestination, pIElement); return(pRect); }