ALTAStressProfile.GetSegments: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
(Created page with '{{Template:APIClass|ALTAStressProfile Class|ALTAStressProfile}} Returns an array of the stress profile segments == Method Syntax == {{APIPrefix|Public Function}}{{APIName|GetSe…')
 
No edit summary
Line 18: Line 18:


{{APIComment|Get segments.}}
{{APIComment|Get segments.}}
         Dim StressSegments() As ALTASegment
         Dim StressSegments() As [[ALTASegment Class|ALTASegment]]
         StressSegments = SP.GetSegments
         StressSegments = SP.GetSegments

Revision as of 17:36, 21 October 2013



Returns an array of the stress profile segments

Method Syntax

Public Function GetSegments() Returns an array of the stress profile segments.

Usage Example

Declare an ALTAStressProfile. See ALTAStressProfile for additional details.

       Dim SP As New ALTAStressProfile("Profile1")

Add segments.

       SP.AddSegment(1, 250)
       SP.AddSegment(2, 300)
       SP.AddSegment(3, 400)

Get segments.

       Dim StressSegments() As ALTASegment
       StressSegments = SP.GetSegments