다음을 통해 공유


IVsTextMarkerGlyphDropHandler.DrawCandidateOutlineGlyph 메서드

잠재적인 대상 줄에서 위젯 여백에서 문자 모양에 그림자를 그립니다.

네임스페이스:  Microsoft.VisualStudio.TextManager.Interop
어셈블리:  Microsoft.VisualStudio.TextManager.Interop(Microsoft.VisualStudio.TextManager.Interop.dll)

구문

‘선언
Function DrawCandidateOutlineGlyph ( _
    dwReserved As UInteger, _
    hdc As IntPtr, _
    pRect As RECT(), _
    clrref As UInteger _
) As Integer
int DrawCandidateOutlineGlyph(
    uint dwReserved,
    IntPtr hdc,
    RECT[] pRect,
    uint clrref
)
int DrawCandidateOutlineGlyph(
    [InAttribute] unsigned int dwReserved, 
    [InAttribute] IntPtr hdc, 
    [InAttribute] array<RECT>^ pRect, 
    [InAttribute] unsigned int clrref
)
abstract DrawCandidateOutlineGlyph : 
        dwReserved:uint32 * 
        hdc:IntPtr * 
        pRect:RECT[] * 
        clrref:uint32 -> int
function DrawCandidateOutlineGlyph(
    dwReserved : uint, 
    hdc : IntPtr, 
    pRect : RECT[], 
    clrref : uint
) : int

매개 변수

  • dwReserved
    형식: UInt32

    [in] 사용 하지 않습니다.

  • hdc
    형식: IntPtr

    [in] 글리프를 그리려면 디스플레이 컨텍스트를 처리 합니다.

  • pRect
    형식: array<RECT[]

    [in] 문자 모양에 대 한 경계 사각형을 정의 하는 RECT 구조체에 대 한 포인터입니다.

  • clrref
    형식: UInt32

    [in] 문자 모양에 대 한 RGB 색 값입니다.

반환 값

형식: Int32
메서드가 성공 하면, 반환 S_OK.실패할 경우 오류 코드를 반환합니다.

설명

COM 시그니처

Textmgr.idl에서:

HRESULT IVsTextMarkerGlyphDropHandler::DrawCandidateOutlineGlyph(
   [in] DWORD dwReserved,
   [in] HDC hdc,
   [in] RECT *pRect,
   [in] COLORREF clrref
);

대상 유효한 지 여부에 관계 없이 동일한 문자 모양을 그립니다. 유효한 대상 인지 여부에 의견 마우스 커서에서 제공 됩니다.

.NET Framework 보안

참고 항목

참조

IVsTextMarkerGlyphDropHandler 인터페이스

Microsoft.VisualStudio.TextManager.Interop 네임스페이스