IViewObject2.GetExtent Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
声明
Sub GetExtent ( _
dwDrawAspect As UInteger, _
lindex As Integer, _
ptd As DVTARGETDEVICE(), _
<OutAttribute> LPSIZEL As SIZEL() _
)
用法
Dim instance As IViewObject2
Dim dwDrawAspect As UInteger
Dim lindex As Integer
Dim ptd As DVTARGETDEVICE()
Dim LPSIZEL As SIZEL()
instance.GetExtent(dwDrawAspect, lindex, _
ptd, LPSIZEL)
void GetExtent(
uint dwDrawAspect,
int lindex,
DVTARGETDEVICE[] ptd,
SIZEL[] LPSIZEL
)
void GetExtent(
[InAttribute] unsigned int dwDrawAspect,
[InAttribute] int lindex,
[InAttribute] array<DVTARGETDEVICE>^ ptd,
[OutAttribute] array<SIZEL>^ LPSIZEL
)
abstract GetExtent :
dwDrawAspect:uint32 *
lindex:int *
ptd:DVTARGETDEVICE[] *
LPSIZEL:SIZEL[] byref -> unit
function GetExtent(
dwDrawAspect : uint,
lindex : int,
ptd : DVTARGETDEVICE[],
LPSIZEL : SIZEL[]
)
Parameters
- dwDrawAspect
Type: System.UInt32
- lindex
Type: System.Int32
- ptd
Type: array<Microsoft.VisualStudio.OLE.Interop.DVTARGETDEVICE[]
- LPSIZEL
Type: array<Microsoft.VisualStudio.OLE.Interop.SIZEL[]
Remarks
For information on the COM interface, see IViewObject2::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.