Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the horizontal and vertical coordinates, in pixels, of the location of the insertion point.
Syntax
HRESULT retVal = object.GetLocation(pPoint, fTranslate);
Parameters
pPoint [out]
Type: POINTA pointer to a variable of type POINT that receives the coordinates of the insertion point.
fTranslate [in]
Type: BOOLA BOOL value that specifies TRUE if the coordinates of the insertion point are given from a global frame of reference, or FALSE if the coordinates are given from the frame of reference of the flow layout element containing the insertion point.
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.