다음을 통해 공유


IViewObject2.Draw Method

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

Syntax

'Declaration
Sub Draw ( _
    dwDrawAspect As UInteger, _
    lindex As Integer, _
    pvAspect As UInteger, _
    ptd As DVTARGETDEVICE(), _
    hdcTargetDev As UInteger, _
    hdcDraw As UInteger, _
    lprcBounds As RECTL(), _
    lprcWBounds As RECTL(), _
    pContinue As IContinue _
)
void Draw(
    uint dwDrawAspect,
    int lindex,
    uint pvAspect,
    DVTARGETDEVICE[] ptd,
    uint hdcTargetDev,
    uint hdcDraw,
    RECTL[] lprcBounds,
    RECTL[] lprcWBounds,
    IContinue pContinue
)
void Draw(
    [InAttribute] unsigned int dwDrawAspect, 
    [InAttribute] int lindex, 
    [InAttribute] unsigned int pvAspect, 
    [InAttribute] array<DVTARGETDEVICE>^ ptd, 
    [InAttribute] unsigned int hdcTargetDev, 
    [InAttribute] unsigned int hdcDraw, 
    [InAttribute] array<RECTL>^ lprcBounds, 
    [InAttribute] array<RECTL>^ lprcWBounds, 
    [InAttribute] IContinue^ pContinue
)
abstract Draw : 
        dwDrawAspect:uint32 * 
        lindex:int * 
        pvAspect:uint32 * 
        ptd:DVTARGETDEVICE[] * 
        hdcTargetDev:uint32 * 
        hdcDraw:uint32 * 
        lprcBounds:RECTL[] * 
        lprcWBounds:RECTL[] * 
        pContinue:IContinue -> unit
function Draw(
    dwDrawAspect : uint, 
    lindex : int, 
    pvAspect : uint, 
    ptd : DVTARGETDEVICE[], 
    hdcTargetDev : uint, 
    hdcDraw : uint, 
    lprcBounds : RECTL[], 
    lprcWBounds : RECTL[], 
    pContinue : IContinue
)

Parameters

  • dwDrawAspect
    Type: UInt32
  • lindex
    Type: Int32
  • pvAspect
    Type: UInt32
  • hdcTargetDev
    Type: UInt32
  • hdcDraw
    Type: UInt32

.NET Framework Security

See Also

Reference

IViewObject2 Interface

Microsoft.VisualStudio.OLE.Interop Namespace