Software Developer's Kit - ChemDraw

Send comments on this topic
TIFFCompression Property
See Also 

Description

Member of ChemDrawControl.Preferences.

Sets and returns the compression type used to produce TIFF files.

Property type

Read-write property

Syntax

Visual Basic
Public Property TIFFCompression() As CDTIFFCompression

Return Type

Remarks

Sets and returns the compression type used to produce TIFF files.

Example

'Modifies a value of preferences 
 Private Sub cmdApplication_click()
     ctlChemDraw.ActiveDocument.Activate
     Dim myApp As ChemDrawControl11Ctl.Application
     Set myApp = ctlChemDraw.Application
     myApp.Preferences.TIFFCompression =  kCDTIFFCompressionPackBits
 End Sub

See Also