IMarkupPointer::Cling Method

Retrieves the cling attribute for this markup pointer.

Syntax


HRESULT Cling(
    BOOL *pfCling
);

Parameters

pfCling
[out] Pointer to a BOOL that returns TRUE if the cling attribute is set for this pointer, FALSE otherwise.

Return Value

Returns S_OK if successful, or an error value otherwise.

Remarks

The cling attribute determines whether a markup pointer will move or be deleted with the markup around it when the markup is moved or deleted.

By default, a markup pointer does not cling to the markup surrounding it.

See Also

IMarkupPointer::SetCling

Community Additions

Show: