IVsPackageDefinedTextMarkerType::GetDefaultFontFlags Method (UInt32)

 

Specifies additional modifications to text appearance determined by the marker.

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] Pointer to additional font options for markers. For a list of pdwFontFlags values, 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 IVsPackageDefinedTextMarkerType::GetDefaultFontFlags(
   [out] DWORD *pdwFontFlags
);

Use this method to allow the marker to specify modifications to text appearance such as boldface (FF_BOLD) or strikethrough (FF_STRIKETHROUGH). If you do not want your markers to force text bold or strikethrough, return FF_DEFAULT. A value of FF_DEFAULT is generally recommended.

Return to top
Show: