共用方式為


IViewObject.Draw Method

Definition

Overloads

Draw(UInt32, Int32, UInt32, DVTARGETDEVICE[], UInt32, UInt32, RECTL[], RECTL[], IContinue)
Draw(UInt32, Int32, IntPtr, DVTARGETDEVICE[], IntPtr, IntPtr, RECTL[], RECTL[], IntPtr, IntPtr)

Draw(UInt32, Int32, UInt32, DVTARGETDEVICE[], UInt32, UInt32, RECTL[], RECTL[], IContinue)

public:
 void Draw(System::UInt32 dwDrawAspect, int lindex, System::UInt32 pvAspect, cli::array <Microsoft::VisualStudio::OLE::Interop::DVTARGETDEVICE> ^ ptd, System::UInt32 hdcTargetDev, System::UInt32 hdcDraw, cli::array <Microsoft::VisualStudio::OLE::Interop::RECTL> ^ lprcBounds, cli::array <Microsoft::VisualStudio::OLE::Interop::RECTL> ^ lprcWBounds, Microsoft::VisualStudio::OLE::Interop::IContinue ^ pContinue);
void Draw(unsigned int dwDrawAspect, int lindex, unsigned int pvAspect, std::Array <Microsoft::VisualStudio::OLE::Interop::DVTARGETDEVICE> const & ptd, unsigned int hdcTargetDev, unsigned int hdcDraw, std::Array <Microsoft::VisualStudio::OLE::Interop::RECTL> const & lprcBounds, std::Array <Microsoft::VisualStudio::OLE::Interop::RECTL> const & lprcWBounds, Microsoft::VisualStudio::OLE::Interop::IContinue const & pContinue);
public void Draw (uint dwDrawAspect, int lindex, uint pvAspect, Microsoft.VisualStudio.OLE.Interop.DVTARGETDEVICE[] ptd, uint hdcTargetDev, uint hdcDraw, Microsoft.VisualStudio.OLE.Interop.RECTL[] lprcBounds, Microsoft.VisualStudio.OLE.Interop.RECTL[] lprcWBounds, Microsoft.VisualStudio.OLE.Interop.IContinue pContinue);
abstract member Draw : uint32 * int * uint32 * Microsoft.VisualStudio.OLE.Interop.DVTARGETDEVICE[] * uint32 * uint32 * Microsoft.VisualStudio.OLE.Interop.RECTL[] * Microsoft.VisualStudio.OLE.Interop.RECTL[] * Microsoft.VisualStudio.OLE.Interop.IContinue -> unit
Public 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)

Parameters

dwDrawAspect
UInt32
lindex
Int32
pvAspect
UInt32
hdcTargetDev
UInt32
hdcDraw
UInt32
lprcBounds
RECTL[]
lprcWBounds
RECTL[]
pContinue
IContinue

Remarks

For information on the COM interface, see IViewObject::Draw

Applies to

Draw(UInt32, Int32, IntPtr, DVTARGETDEVICE[], IntPtr, IntPtr, RECTL[], RECTL[], IntPtr, IntPtr)

public:
 void Draw(System::UInt32 dwDrawAspect, int lindex, IntPtr pvAspect, cli::array <Microsoft::VisualStudio::OLE::Interop::DVTARGETDEVICE> ^ ptd, IntPtr hdcTargetDev, IntPtr hdcDraw, cli::array <Microsoft::VisualStudio::OLE::Interop::RECTL> ^ lprcBounds, cli::array <Microsoft::VisualStudio::OLE::Interop::RECTL> ^ lprcWBounds, IntPtr pfnContinue, IntPtr dwContinue);
public void Draw (uint dwDrawAspect, int lindex, IntPtr pvAspect, Microsoft.VisualStudio.OLE.Interop.DVTARGETDEVICE[] ptd, IntPtr hdcTargetDev, IntPtr hdcDraw, Microsoft.VisualStudio.OLE.Interop.RECTL[] lprcBounds, Microsoft.VisualStudio.OLE.Interop.RECTL[] lprcWBounds, IntPtr pfnContinue, IntPtr dwContinue);
abstract member Draw : uint32 * int * nativeint * Microsoft.VisualStudio.OLE.Interop.DVTARGETDEVICE[] * nativeint * nativeint * Microsoft.VisualStudio.OLE.Interop.RECTL[] * Microsoft.VisualStudio.OLE.Interop.RECTL[] * nativeint * nativeint -> unit
Public Sub Draw (dwDrawAspect As UInteger, lindex As Integer, pvAspect As IntPtr, ptd As DVTARGETDEVICE(), hdcTargetDev As IntPtr, hdcDraw As IntPtr, lprcBounds As RECTL(), lprcWBounds As RECTL(), pfnContinue As IntPtr, dwContinue As IntPtr)

Parameters

dwDrawAspect
UInt32
lindex
Int32
pvAspect
IntPtr

nativeint

hdcTargetDev
IntPtr

nativeint

hdcDraw
IntPtr

nativeint

lprcBounds
RECTL[]
lprcWBounds
RECTL[]
pfnContinue
IntPtr

nativeint

dwContinue
IntPtr

nativeint

Applies to