共用方式為


IsVisible method

Determines whether the insertion point is visible on the screen.

Syntax

HRESULT retVal = object.IsVisible(pIsVisible);

Parameters

  • pIsVisible [out]
    Type: BOOL

    A pointer to a variable of type BOOL that receives TRUE if the insertion point is visible, or FALSE otherwise.

Return value

Type: HRESULT

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