IPCsExternalObject


Topic:

Properties and methods of IPCsExternalObject


Class hierarchy:

IPCsApplication IPCsDocument IPCsDrawing2 IPCsExternalObject
IPCsApplication IPCsDocument IPCsDrawing2 IPCsPage IPCsExternalObjects2 IPCsExternalObject2


Properties / Methods:

FilenameThe filepath to the external object
Handle A unique handle to the external object
IsPicture Indicates wheater object is a picture
IsOleObject Indicates wheater object is an OLE-object
Width The width of the object. Type: integer
Height The height of the object. Type: integer


Comments:

An external object can be a picture (possibly a logo) or an OLE object (such as an office-document).

To get access to IPCsDrawing2 methods and properties, it's necessary to typecast IPCsDrawing to IPCsDrawing2.
This can be done like this: (PCsApplication.ActiveDocument.Drawing as IPCsDrawing2).