Property: Transparency for Segment
- Updated2024-09-12
- 2 minute(s) read
DIAdem VIEW > Properties > Property: Transparency for Segment
Property: Transparency for Segment
Specifies the percentaged transparency of the segments in a 2D axis system in DIAdem VIEW. If you assign the value 0 to the property, DIAdem does not display the segments transparent.
Object.Transparency
| Object | Segment Object with this property |
| Object.Transparency | Double with read and write access Value range: 0 to 100 A value of 100 is completely transparent, a value of 0 is opaque. |
The following example creates a 2D axis system with a curve and semi-transparent segments:
| VBScript | Python |
View.Sheets(1).Areas(1).DisplayObjType = "CurveChart2D" Dim oMyDisplayObj : Set oMyDisplayObj = View.Sheets(1).Areas(1).DisplayObj Call oMyDisplayObj.Curves2D.Add("[1]/[2]","[1]/[3]) Dim oMySegment : Set oMySegment = oMyDisplayObj.Segments.Add("[1]/[4]","[1]/[5],"X") oMySegment.Color = "red" oMySegment.Transparency = 50
See Also
Examples
Alignment Functions in DIAdem VIEW | Automatic Display of Harmonic Frequencies | Bird's Eye View Display | Calculating a Tangent to a Curve | Contour Display in DIAdem VIEW | Creating and Viewing Long Data Channels | Dynamic Display of Statistical Characteristic Values in DIAdem VIEW | Overlaying Objects in Videos | Planetary Motion | Synchronizing Videos and Data | Synchronizing Videos and Waveform Data | User Dialog Box in VIEW for the Calculation of the FFT and Harmonic Frequencies | Using a User Command to Calculate the Difference between the Y-Values | Various Display Modes in DIAdem VIEW | Vibration Data Analysis with Parallel Processing | Viewing and Automatically Analyzing Data