OLEObject.Constructor(copy as OLEObject)
From Xojo Documentation
Constructor
This method is only available on the Windows platform. For cross-platform compatibility, use #If...#Endif with the Target... specifiers to make sure you will not attempt to use this method on an incompatible platform. |
Creates a copy of the OLEObject.
Example
The following example creates a copy of the passed OLEObject using the copy constructor and opens a new Word document.