Property: ImageExport for Settings
- Updated2024-09-12
- 1 minute(s) read
DIAdem REPORT > Properties > Property: ImageExport for Settings
Property: ImageExport for Settings
Specifies in DIAdem REPORT the properties for the export of a layout in a graphic file. You can export layouts in JPG, GIF, TIF, and PNG files.
Set oSettingsImageExport = Object.ImageExport
Object | Settings Object with this property |
oSettingsImageExport | SettingsImageExport Returned object |
The following example generates a 2D axis system with a curve, specifies the export settings, and exports the layout into a GIF file.
VBScript | Python |
Dim oMy2DAxisSystem, oMy2DCurve 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]" Report.Settings.ImageExport.GIF.BitsPerPixel = eGIFBitsPerPixelRGB1 Report.Settings.ImageExport.GIF.Height = 300 Report.Settings.ImageExport.GIF.UseRatio = True Report.Settings.ImageExport.GIF.Width = 400 Call oMy2DAxisSystem.ExportToImage(LayoutWritePath & "MyNew2DCurve", eImageExportTypeGIF)