Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

GetLocation method

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: POINT

A pointer to a variable of type POINT that receives the coordinates of the insertion point.

fTranslate [in]

Type: BOOL

A 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.

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.