共用方式為


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
)
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: UInt32

Remarks

For information on the COM interface, see IOleObject::GetExtent

.NET Framework Security

See Also

Reference

IOleObject Interface

Microsoft.VisualStudio.OLE.Interop Namespace