Gets or sets the vertical scale of the profile view or section view.
Namespace: Autodesk.Civil.DatabaseServices.StylesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.0
Syntax
C#
public double VerticalScale { get; set; }
Visual Basic
Public Property VerticalScale As Double
Get
Set
Visual C++
public: property double VerticalScale { double get (); void set (double value); }
Remarks
Vertical Scale (VS) = Current Horizontal Scale (HS) divided by Vertical Exaggeration (VX).
The value of VerticalScale will be invalid when:
- The input value is out of the interval (0.00, 2000.00) in meteres drawing units.
- The input value is out of the interval (0.00, 6561.6797900262467191601049868766) in feet drawing units.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException | Thrown when the input is less than or equal to 0.00 |
System.InvalidOperationException | Thrown when the GraphStyle is obtained from a MassHaulViewStyle. |