Previous Document Next Document

Object Model Reference : Classes : L : Layer : Methods : Layer.CreateOLEObject


Layer.CreateOLEObject

Function CreateOLEObject(ObjectID As String, [DisplayAsIcon As Boolean = False], [Caption As String], [Icon As Variant]) As Shape

Description

Member of Layer

The CreateOLEObject method creates a new OLE object on a layer.

Parameter
Description
ObjectID
Specifies the ID of the OLE object
DisplayAsIcon
Specifies whether to display the OLE object as an icon. This parameter is optional, and its default value is False.
Caption
Specifies a caption for the OLE object. This parameter is optional.
Icon
Specifies an icon for the OLE object. This parameter is optional.

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.