Skip to main content
ITextStory::GetDisplay method

Gets a new display for a story.

Syntax


HRESULT GetDisplay(
  [out, retval]  IUnknown **ppDisplay
);

Parameters

ppDisplay [out, retval]

Type: IUnknown**

The IUnknown interface for a display.

Return value

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Remarks

A story can be displayed by calling ITextStory::SetActive(tomDisplayActive). The ITextStory::GetDisplay method is included, in case it might be advantageous to have more than one display for a set of ITextStory interfaces.

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

IDL

Tom.idl

See also

ITextStory