Previous Document Next Document

Object Model Reference : Classes : A : Application : Methods : Application.CreateStructImportOptions


Application.CreateStructImportOptions

Function CreateStructImportOptions() As StructImportOptions

Description

Member of Application

The CreateStructImportOptions method creates a StructImportOptions object.

VBA example

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

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.