IOleObject.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, _
<OutAttribute> pSizel As SIZEL() _
)
void GetExtent(
uint dwDrawAspect,
SIZEL[] pSizel
)
Parameters
- dwDrawAspect
Type: System.UInt32
- pSizel
Type: array<Microsoft.VisualStudio.OLE.Interop.SIZEL[]
Remarks
For information on the COM interface, see IOleObject::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.