DIAdemヘルプ

Object: 2DAxisSettings

  • 更新日2024-09-12
  • 3分で読める

Object: 2DAxisSettings

The 2DAxisSettings object provides the properties of a 2D axis system in DIAdem REPORT.

The following example generates a 2D axis system and enables the grid display with miniticks:

VBScriptPython

 

Dim oMy2DAxisSystem, oMyPos, oMySettings
Call Report.NewLayout()
Set oMy2DAxisSystem = Report.ActiveSheet.Objects.Add(eReportObject2DAxisSystem, "My2DAxisSystem")
Set oMyPos = oMy2DAxisSystem.Position.ByCoordinate
oMyPos.X1 = 20
oMyPos.X2 = 80
oMyPos.Y1 = 20
oMyPos.Y2 = 80
Set oMySettings = oMy2DAxisSystem.Settings
oMySettings.Grid.DisplayMode = e2DAxisGridModeGrid
oMySettings.Grid.MiniTickGrid.Visible = True
Call Report.Refresh()

Returned From

2DAxisSystem.Settings