Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- ptd
 Type: array<Microsoft.VisualStudio.OLE.Interop.DVTARGETDEVICE[]
- LPSIZEL
 Type: array<Microsoft.VisualStudio.OLE.Interop.SIZEL[]
Remarks
For information on the COM interface, see IViewObject2::GetExtent
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.