IViewObjectEx.GetNaturalExtent Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaração
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
)
Parameters
- dwAspect
Type: System.UInt32
- lindex
Type: System.Int32
- ptd
Type: array<Microsoft.VisualStudio.OLE.Interop.DVTARGETDEVICE[]
- hicTargetDev
Type: System.IntPtr
- pExtentInfo
Type: array<Microsoft.VisualStudio.OLE.Interop.DVEXTENTINFO[]
- pSizel
Type: array<Microsoft.VisualStudio.OLE.Interop.SIZEL[]
Remarks
For information on the COM interface, see IViewObjectEx::GetNaturalExtent
.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.