共用方式為


IViewObject2.GetExtent(UInt32, Int32, DVTARGETDEVICE[], SIZEL[]) Method

Definition

public:
 void GetExtent(System::UInt32 dwDrawAspect, int lindex, cli::array <Microsoft::VisualStudio::OLE::Interop::DVTARGETDEVICE> ^ ptd, cli::array <Microsoft::VisualStudio::OLE::Interop::SIZEL> ^ LPSIZEL);
void GetExtent(unsigned int dwDrawAspect, int lindex, std::Array <Microsoft::VisualStudio::OLE::Interop::DVTARGETDEVICE> const & ptd, std::Array <Microsoft::VisualStudio::OLE::Interop::SIZEL> const & LPSIZEL);
public void GetExtent (uint dwDrawAspect, int lindex, Microsoft.VisualStudio.OLE.Interop.DVTARGETDEVICE[] ptd, Microsoft.VisualStudio.OLE.Interop.SIZEL[] LPSIZEL);
abstract member GetExtent : uint32 * int * Microsoft.VisualStudio.OLE.Interop.DVTARGETDEVICE[] * Microsoft.VisualStudio.OLE.Interop.SIZEL[] -> unit
Public Sub GetExtent (dwDrawAspect As UInteger, lindex As Integer, ptd As DVTARGETDEVICE(), LPSIZEL As SIZEL())

Parameters

dwDrawAspect
UInt32
lindex
Int32
LPSIZEL
SIZEL[]

Remarks

For information on the COM interface, see IViewObject2::GetExtent

Applies to