Partager via


IViewObject2.GetExtent Method

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

Syntax

'Declaration
Sub GetExtent ( _
    dwDrawAspect As UInteger, _
    lindex As Integer, _
    ptd As DVTARGETDEVICE(), _
    <OutAttribute> LPSIZEL As SIZEL() _
)
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

  • dwDrawAspect
    Type: UInt32
  • lindex
    Type: Int32

Remarks

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

.NET Framework Security

See Also

Reference

IViewObject2 Interface

Microsoft.VisualStudio.OLE.Interop Namespace