ITextStory::GetType method (tom.h)
Gets this story's type.
Syntax
HRESULT GetType(
[out, retval] long *pValue
);
Parameters
[out, retval] pValue
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
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Target Platform | Windows |
Header | tom.h |