Object Model Reference : Classes : A : Application : Methods : Application.CreateStructImportOptions |
Function CreateStructImportOptions() As StructImportOptions
Member of Application
The CreateStructImportOptions method creates a StructImportOptions object.
The following VBA example imports a JPEG file and links it externally.
Sub TestImport() |
Dim im As ImportFilter |
Dim si As StructImportOptions |
Set si = CreateStructImportOptions |
si.LinkBitmapExternally = True |
Set im = ActiveLayer.ImportEx("c:\primitives.jpg", , si) |
im.Finish |
End Sub |
Copyright 2013 Corel Corporation. All rights reserved.