ITextStory::GetType method

Gets this story's type.

Syntax


HRESULT GetType(
  [out, retval]  long *pValue
);

Parameters

pValue [out, retval]

Type: long*

This story's type. It can be any of the following values, or a custom client value from 100 to 65535.

tomCommentsStory
tomEndnotesStory
tomEvenPagesFooterStory
tomEvenPagesHeaderStory
tomFindStory
tomFirstPageFooterStory
tomFirstPageHeaderStory
tomFootnotesStory
tomMainTextStory
tomPrimaryFooterStory
tomPrimaryHeaderStory
tomReplaceStory
tomScratchStory
tomTextFrameStory
tomUnknownStory

Return value

Type: HRESULT

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

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

IDL

Tom.idl

See also

ITextStory
ITextStory::SetType

 

 

Community Additions

ADD
Show:
© 2014 Microsoft