MoveToMarkupPosition method

Moves a markup pointer to a given position in a given markup container.

Syntax


HRESULT retVal = object.MoveToMarkupPosition(pContainer, lMP);

Parameters

pContainer [in]

Type: IMarkupContainer

Pointer to an IMarkupContainer interface for the markup container in which to place the markup pointer.

lMP [in]

Type: long

Long integer that specifies the new position.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

If the markup pointer is already positioned in a markup container, then pContainer can be set to NULL to move the pointer within its current container.

Setting lMP to -1 invalidates the pointer's positioning.

See also

Reference
IMarkupPointer2::GetMarkupPosition
IMarkupPointer::IsPositioned
IMarkupPointer::UnPosition

 

 

Show: