IViewObjectEx.GetNaturalExtent Method

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

Syntax

'Declaration
Sub GetNaturalExtent ( _
    dwAspect As UInteger, _
    lindex As Integer, _
    ptd As DVTARGETDEVICE(), _
    hicTargetDev As IntPtr, _
    pExtentInfo As DVEXTENTINFO(), _
    <OutAttribute> pSizel As SIZEL() _
)
void GetNaturalExtent(
    uint dwAspect,
    int lindex,
    DVTARGETDEVICE[] ptd,
    IntPtr hicTargetDev,
    DVEXTENTINFO[] pExtentInfo,
    SIZEL[] pSizel
)
void GetNaturalExtent(
    [InAttribute] unsigned int dwAspect, 
    [InAttribute] int lindex, 
    [InAttribute] array<DVTARGETDEVICE>^ ptd, 
    [InAttribute] IntPtr hicTargetDev, 
    [InAttribute] array<DVEXTENTINFO>^ pExtentInfo, 
    [OutAttribute] array<SIZEL>^ pSizel
)
abstract GetNaturalExtent : 
        dwAspect:uint32 * 
        lindex:int * 
        ptd:DVTARGETDEVICE[] * 
        hicTargetDev:IntPtr * 
        pExtentInfo:DVEXTENTINFO[] * 
        pSizel:SIZEL[] byref -> unit
function GetNaturalExtent(
    dwAspect : uint, 
    lindex : int, 
    ptd : DVTARGETDEVICE[], 
    hicTargetDev : IntPtr, 
    pExtentInfo : DVEXTENTINFO[], 
    pSizel : SIZEL[]
)

Parameters

  • dwAspect
    Type: UInt32
  • lindex
    Type: Int32
  • hicTargetDev
    Type: IntPtr

Remarks

For information on the COM interface, see IViewObjectEx::GetNaturalExtent

.NET Framework Security

See Also

Reference

IViewObjectEx Interface

Microsoft.VisualStudio.OLE.Interop Namespace