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() _
)
'Usage
Dim instance As IOleObject
Dim dwDrawAspect As UInteger
Dim pSizel As SIZEL()
instance.GetExtent(dwDrawAspect, pSizel)
void GetExtent(
uint dwDrawAspect,
SIZEL[] pSizel
)
void GetExtent(
[InAttribute] unsigned int dwDrawAspect,
[OutAttribute] array<SIZEL>^ pSizel
)
abstract GetExtent :
dwDrawAspect:uint32 *
pSizel:SIZEL[] byref -> unit
function GetExtent(
dwDrawAspect : uint,
pSizel : SIZEL[]
)
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.