Skip to content

Latest commit

 

History

History
143 lines (109 loc) · 3.56 KB

nf-tom-itextfont-getsmallcaps.md

File metadata and controls

143 lines (109 loc) · 3.56 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.ITextFont.GetSmallCaps
ITextFont::GetSmallCaps (tom.h)
Gets whether characters are in small capital letters.
GetSmallCaps
GetSmallCaps method [Windows Controls]
GetSmallCaps method [Windows Controls]
ITextFont interface
ITextFont interface [Windows Controls]
GetSmallCaps method
ITextFont.GetSmallCaps
ITextFont::GetSmallCaps
_win32_ITextFont_GetSmallCaps
_win32_ITextFont_GetSmallCaps_cpp
controls.ITextFont_GetSmallCaps
controls._win32_ITextFont_GetSmallCaps
tom/ITextFont::GetSmallCaps
controls\ITextFont_GetSmallCaps.htm
Controls
VS|Controls|~\controls\richedit\textobjectmodel\textobjectmodelreference\textobjectmodelinterfaces\getsmallcaps.htm
12/05/2018
GetSmallCaps, GetSmallCaps method [Windows Controls], GetSmallCaps method [Windows Controls],ITextFont interface, ITextFont interface [Windows Controls],GetSmallCaps method, ITextFont.GetSmallCaps, ITextFont::GetSmallCaps, _win32_ITextFont_GetSmallCaps, _win32_ITextFont_GetSmallCaps_cpp, controls.ITextFont_GetSmallCaps, controls._win32_ITextFont_GetSmallCaps, tom/ITextFont::GetSmallCaps
tom.h
Windows
Windows Vista [desktop apps only]
Windows Server 2003 [desktop apps only]
Msftedit.dll
Windows
19H1
ITextFont::GetSmallCaps
tom/ITextFont::GetSmallCaps
c++
APIRef
kbSyntax
COM
Msftedit.dll
ITextFont.GetSmallCaps

ITextFont::GetSmallCaps

-description

Gets whether characters are in small capital letters.

-parameters

-param pValue

Type: long*

A tomBool value that can be one of the following.

Value Meaning
tomTrue Characters are in small capital letters.
tomFalse Characters are not in small capital letters.
tomUndefined The SmallCaps property is undefined.

-returns

Type: HRESULT

If the method succeeds, it returns S_OK. If the method fails, it returns one of the following COM error codes. For more information about COM error codes, see Error Handling in COM.

Return code Description
E_INVALIDARG
Invalid argument.
CO_E_RELEASED
The font object is attached to a range that has been deleted.

-remarks

This property corresponds to the CFE_SMALLCAPS effect described in the CHARFORMAT2 structure.

-see-also

CHARFORMAT2

Conceptual

ITextFont

Reference

SetSmallCaps

Text Object Model