Object: SettingsImageExportTIF
- Updated2024-09-12
- 1 minute(s) read
DIAdem REPORT > Objects > Report > Settings > SettingsImageExport > Object: SettingsImageExportTIF
Object: SettingsImageExportTIF
The SettingsImageExportTIF object provides the properties for exporting a layout to a TIF file.
The following example generates a 2D axis system with a curve, specifies the export settings, and exports the layout to a TIF file:
| VBScript | Python |
Dim oMy2DAxisSystem, oMy2DCurve, oMyTIFExport Call Report.NewLayout() Set oMy2DAxisSystem = Report.ActiveSheet.Objects.Add(eReportObject2DAxisSystem, "My2DAxisSystem") Set oMy2DCurve = oMy2DAxisSystem.Curves2D.Add(e2DShapeLine, "MyCurve") oMy2DCurve.Shape.XChannel.Reference = "[1]/[1]" oMy2DCurve.Shape.YChannel.Reference = "[1]/[2]" Set oMyTIFExport = Report.Settings.ImageExport.TIF oMyTIFExport.BitsPerPixel = eGIFBitsPerPixelRGB1 oMyTIFExport.Height = 300 oMyTIFExport.UseCompression = False oMyTIFExport.UseRatio = True oMyTIFExport.Width = 400 Call oMy2DAxisSystem.ExportToImage(LayoutWritePath & "MyImage", eImageExportTypeTIF)
Properties
BitsPerPixel | Height | UseCompression | UseRatio | Width