Previous Document Next Document

Object Model Reference : Classes : S : StructImportOptions : Properties : StructImportOptions.ExtractICCProfile


StructImportOptions.ExtractICCProfile

Property ExtractICCProfile As Boolean

Description

Member of StructImportOptions

The ExtractICCProfile property specifies whether to extract an International Color Consortium (ICC) profile on import.

VBA example

The following VBA example sets import options for a StructImportOptions object and then imports a JPEG file by using those options.

Sub testImportOptions()
 ' Declare a new import options structure
 Dim io As New StructImportOptions
 With io
  .Mode = cdrImportFull
  .CombineMultilayerBitmaps = False
  .DetectWatermark = True
  .ExtractICCProfile = False
  .ICCFileName = "C:\Test.icc"
  .ImageIndex = 3
  .LinkBitmapExternally = False
  .MaintainLayers = True
  .UseOPILinks = False
 End With
 ' Import the jpeg file passing the import option structure
 ActiveLayer.Import "C:\Test.jpg", , io
End Sub

Previous Document Next Document Back to Top

Copyright 2013 Corel Corporation. All rights reserved.