IVsColorableItem::GetDefaultFontFlags Method (UInt32)

 

Returns the default font flags for the custom colorable item.

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

int GetDefaultFontFlags(
	[OutAttribute] unsigned int% pdwFontFlags
)

Parameters

pdwFontFlags
Type: System::UInt32

[out] Font flags for the custom colorable item (that is, bold, plain text, and so on). For more information, see FONTFLAGS.

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 IVsColorableItem::GetDefaultFontFlags(
   [out] DWORD *pdwFontFlags
);

The font flags are from the FONTFLAGS enumeration.

Return to top
Show: