Creates an OLE object on the active document.
.NET Syntax
Visual Basic (Declaration) | |
---|
Function ICreateOLEObject( _
ByVal Aspect As System.Integer, _
ByRef Position As System.Double, _
ByVal ByteCount As System.Integer, _
ByRef Buffer As System.Byte, _
ByRef ErrorCode As System.Integer _
) As SwOLEObject |
Visual Basic (Usage) | |
---|
Dim instance As IModelDocExtension
Dim Aspect As System.Integer
Dim Position As System.Double
Dim ByteCount As System.Integer
Dim Buffer As System.Byte
Dim ErrorCode As System.Integer
Dim value As SwOLEObject
value = instance.ICreateOLEObject(Aspect, Position, ByteCount, Buffer, ErrorCode) |
Parameters
- Aspect
Viewing aspect of the OLE object as defined in the DVASPECT enumeration (see Remarks)
- Position
Top-left and bottom-right positions (see Remarks)
- ByteCount
- Number of bytes
- Buffer
Data for the OLE object (see Remarks)
- ErrorCode
- 0 if True or 1 if false
Return Value
OLE object
Remarks
See Also
Availability
SOLIDWORKS 2006 FCS, Revision Number 14.0