Previous Document Next Document
Layer.CreateOLEObjectFromFile

Function CreateOLEObjectFromFile(FileName As String, [Link As Boolean = False], [DisplayAsIcon As Boolean = False], [Caption As String], [Icon As Variant]) As Shape

Member of Layer

The CreateOLEObjectFromFile method creates a new OLE object from file.

Parameters
Description
FileName
Link
This parameter is optional, and its default value is False.
DisplayAsIcon
This parameter is optional, and its default value is False.
Caption
This parameter is optional.
Icon
This parameter is optional.

Previous Document Next Document Back to Top

Copyright 2007 Corel Corporation. All rights reserved.