Skip to content

Latest commit

 

History

History
129 lines (105 loc) · 3.17 KB

nf-tom-itextrange-getstorytype.md

File metadata and controls

129 lines (105 loc) · 3.17 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:tom.ITextRange.GetStoryType
ITextRange::GetStoryType (tom.h)
Get the type of the range's story.
GetStoryType
GetStoryType method [Windows Controls]
GetStoryType method [Windows Controls]
ITextRange interface
ITextRange interface [Windows Controls]
GetStoryType method
ITextRange.GetStoryType
ITextRange::GetStoryType
_win32_ITextRange_GetStoryType
_win32_ITextRange_GetStoryType_cpp
controls.ITextRange_GetStoryType
controls._win32_ITextRange_GetStoryType
tom/ITextRange::GetStoryType
controls\ITextRange_GetStoryType.htm
Controls
VS|Controls|~\controls\richedit\textobjectmodel\textobjectmodelreference\textobjectmodelinterfaces\getstorytype.htm
12/05/2018
GetStoryType, GetStoryType method [Windows Controls], GetStoryType method [Windows Controls],ITextRange interface, ITextRange interface [Windows Controls],GetStoryType method, ITextRange.GetStoryType, ITextRange::GetStoryType, _win32_ITextRange_GetStoryType, _win32_ITextRange_GetStoryType_cpp, controls.ITextRange_GetStoryType, controls._win32_ITextRange_GetStoryType, tom/ITextRange::GetStoryType
tom.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextRange::GetStoryType
tom/ITextRange::GetStoryType
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextRange.GetStoryType

ITextRange::GetStoryType

-description

Get the type of the range's story.

-parameters

-param pValue

Type: long*

The type of the range's story. The pValue value can be one of the following values.

Story type Value Story type Value
tomUnknownStory 0 tomEvenPagesHeaderStory 6
tomMainTextStory 1 tomPrimaryHeaderStory 7
tomFootnotesStory 2 tomEvenPagesFooterStory 8
tomEndnotesStory 3 tomPrimaryFooterStory 9
tomCommentsStory 4 tomFirstPageHeaderStory 10
tomTextFrameStory 5 tomFirstPageFooterStory 11

-returns

Type: HRESULT

The method returns an HRESULT value. If the method succeeds, it returns S_OK. If pValue is null, the method fails and it returns E_INVALIDARG.

-see-also

Conceptual

ITextRange

Reference

Text Object Model