IVsPackageDefinedTextMarkerType.GetDefaultFontFlags(UInt32) Method

Definition

Specifies additional modifications to text appearance determined by the marker.

public:
 int GetDefaultFontFlags([Runtime::InteropServices::Out] System::UInt32 % pdwFontFlags);
int GetDefaultFontFlags([Runtime::InteropServices::Out] unsigned int & pdwFontFlags);
public int GetDefaultFontFlags (out uint pdwFontFlags);
abstract member GetDefaultFontFlags : uint32 -> int
Public Function GetDefaultFontFlags (ByRef pdwFontFlags As UInteger) As Integer

Parameters

pdwFontFlags
UInt32

[out] Pointer to additional font options for markers. For a list of pdwFontFlags values, see FONTFLAGS.

Returns

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

Remarks

COM Signature

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.

Applies to