Partager via


IVsTextTipData.GetTipFontInfo(Int32, UInt32[]) Method

Definition

Gets font information for the tip text.

public:
 int GetTipFontInfo(int cChars, cli::array <System::UInt32> ^ pdwFontAttr);
public:
 int GetTipFontInfo(int cChars, Platform::Array <unsigned int> ^ pdwFontAttr);
int GetTipFontInfo(int cChars, std::Array <unsigned int> const & pdwFontAttr);
public int GetTipFontInfo (int cChars, uint[] pdwFontAttr);
abstract member GetTipFontInfo : int * uint32[] -> int
Public Function GetTipFontInfo (cChars As Integer, pdwFontAttr As UInteger()) As Integer

Parameters

cChars
Int32

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

pdwFontAttr
UInt32[]

[out] The font attribute for the text characters.

Returns

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

Remarks

COM Signature

From textmgr.idl:

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

Note

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

Applies to