IVsPackageDefinedTextMarkerType.GetDefaultFontFlags Method
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)
Syntax
'Declaración
Function GetDefaultFontFlags ( _
<OutAttribute> ByRef pdwFontFlags As UInteger _
) As Integer
int GetDefaultFontFlags(
out uint pdwFontFlags
)
int GetDefaultFontFlags(
[OutAttribute] unsigned int% pdwFontFlags
)
abstract GetDefaultFontFlags :
pdwFontFlags:uint32 byref -> int
function GetDefaultFontFlags(
pdwFontFlags : uint
) : int
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.
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.