IVsTextTipData::GetTipFontInfo Method (Int32, array<UInt32>^)

 

Gets font information for the tip text.

Namespace:   Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

int GetTipFontInfo(
	int cChars,
	array<unsigned int>^ pdwFontAttr
)

Parameters

cChars
Type: System::Int32

[in] The number of characters to check for font information.

pdwFontAttr
Type: array<System::UInt32>^

[out] The font attribute for the text characters.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From textmgr.idl:

HRESULT IVsTextTipData::GetTipFontInfo(
   [in] long cChars,
   [out, size_is(cChars)] ULONG *pdwFontAttr
); 
System_CAPS_noteNote

*pdwFontAttr will already have been memset to zeroes, so you can set only the indices that are not normal

Return to top
Show: