Collection: 2DAxisYAxisList

DIAdem 2018 Help


Edition Date: June 2018
Part Number: 370858P-01
View Product Info

DOWNLOAD (Windows Only)


DIAdem 2012 Help
DIAdem 2014 Help
DIAdem 2015 Help
DIAdem 2017 Help
DIAdem 2018 Help
DIAdem 2019 Help

Collection of all 2DAxisY objects in DIAdem REPORT. Use the 2DAxisYAxisList collection to access an individual y-axis in a 2D axis system in DIAdem REPORT. The first object of the 2DAxisYAxisList collection is identical with the 2DAxisY object.

The following example displays the horizontal offset and the names of all y-axes:

Dim oMyReportObj, oMyReportObjects, oMySubObjects, i, sOutput
sOutput = ""
Set oMyReportObjects = Report.ActiveSheet.Objects
For Each oMyReportObj in oMyReportObjects
  If oMyReportObj.ObjectType = eReportObject2DAxisSystem Then
    Set oMySubObjects = oMyReportObj.YAxisList
    For i = 1 to oMySubObjects.Count
      sOutput = sOutput & "Horizontal offset: " & oMySubObjects.Item(i).OffsetHorizontal & vbTab & _
                "Axis name: " & oMySubObjects.Item(i).Name & vbCrLf
    Next
  End If
Next
Call MsgBoxDisp(sOutput)

Properties

Count

Methods

Add | Exists | Item | Remove | RemoveAll

Returned From

2DAxisSystem.YAxisList

WAS THIS ARTICLE HELPFUL?

Not Helpful