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
)
abstract GetExtent : 
        dwDrawAspect:uint32 * 
        lindex:int * 
        ptd:DVTARGETDEVICE[] * 
        LPSIZEL:SIZEL[] byref -> unit 
function GetExtent(
    dwDrawAspect : uint, 
    lindex : int, 
    ptd : DVTARGETDEVICE[], 
    LPSIZEL : SIZEL[]
)

Parameters

Remarks

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

.NET Framework Security

See Also

Reference

IViewObject2 Interface

IViewObject2 Members

Microsoft.VisualStudio.OLE.Interop Namespace