IViewObject2.GetExtent Method

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

Syntax

'宣言
Sub GetExtent ( _
    dwDrawAspect As UInteger, _
    lindex As Integer, _
    ptd As DVTARGETDEVICE(), _
    <OutAttribute> LPSIZEL As SIZEL() _
)
'使用
Dim instance As IViewObject2
Dim dwDrawAspect As UInteger
Dim lindex As Integer
Dim ptd As DVTARGETDEVICE()
Dim LPSIZEL As SIZEL()

instance.GetExtent(dwDrawAspect, lindex, _
    ptd, LPSIZEL)
void GetExtent(
    uint dwDrawAspect,
    int lindex,
    DVTARGETDEVICE[] ptd,
    SIZEL[] LPSIZEL
)
void GetExtent(
    [InAttribute] unsigned int dwDrawAspect, 
    [InAttribute] int lindex, 
    [InAttribute] array<DVTARGETDEVICE>^ ptd, 
    [OutAttribute] array<SIZEL>^ LPSIZEL
)
function GetExtent(
    dwDrawAspect : uint, 
    lindex : int, 
    ptd : DVTARGETDEVICE[], 
    LPSIZEL : SIZEL[]
)

Parameters

  • ptd
    Type: []
  • LPSIZEL
    Type: []

Remarks

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

Permissions

See Also

Reference

IViewObject2 Interface

IViewObject2 Members

Microsoft.VisualStudio.OLE.Interop Namespace