'Declaration
Public Sub AddPolyRulerAnnotInteractive( _ ByVal BorderColor As Color, _ ByVal BorderWidth As Single, _ ByVal Opacity As Single, _ ByVal MeasurementUnit As Annotation.UnitMode _ )
public void AddPolyRulerAnnotInteractive( Color BorderColor, float BorderWidth, float Opacity, Annotation.UnitMode MeasurementUnit )
public procedure AddPolyRulerAnnotInteractive( BorderColor: Color; BorderWidth: Single; Opacity: Single; MeasurementUnit: Annotation.UnitMode );
public function AddPolyRulerAnnotInteractive( BorderColor : Color, BorderWidth : float, Opacity : float, MeasurementUnit : Annotation.UnitMode );
public: void AddPolyRulerAnnotInteractive( Color BorderColor, float BorderWidth, float Opacity, Annotation.UnitMode MeasurementUnit )
public: void AddPolyRulerAnnotInteractive( Color BorderColor, float BorderWidth, float Opacity, Annotation.UnitMode MeasurementUnit )
Parameters
- BorderColor
- A color object that defines the required color of the newly added poly ruler annotation. It is the color of the poly ruler's drawn lines and it corresponds to the AnnotationPolyRuler.StrokeColor property.
- BorderWidth
- The width of the newly added poly ruler annotation, in inches. It is the width of the poly ruler's drawn lines and it corresponds to the AnnotationPolyRuler.BorderWidth property.
- Opacity
- The opacity value of the newly added poly ruler annotation, from 0 (full transparency) to 1 (full opacity).
- MeasurementUnit
- The measurement unit of the newly added poly ruler. The poly ruler presents its current length as the sum of the lengths of all connected lines in the defined unit at the end of the whole drawn line.