HorizontalLineAnnotation
Eine Klasse für HorizontalLineAnnotation @
Erbt von: LineAnnotationWithLabelsBase
Konstruktoren
public HorizontalLineAnnotation()
horizontalLineAnnotation = HorizontalLineAnnotation()
Erstellt eine neue Instanz von HorizontalLineAnnotation
Eigenschaften
public HorizontalAlignment HorizontalAlignment { get; set; }
value = horizontalLineAnnotation.HorizontalAlignment
horizontalLineAnnotation.HorizontalAlignment = value
Bekommt oder setzt Andocken von HorizontalLineAnnotation
public double YDragStep { get; set; }
value = horizontalLineAnnotation.YDragStep
horizontalLineAnnotation.YDragStep = value
Bekommt oder setzt den Wert, der einen Drag-Schritt für diesen bestimmt HorizontalLineAnnotation
Methoden
protected override void GetPropertiesFromIndex(int index, DependencyProperty X, DependencyProperty Y)
horizontalLineAnnotation.GetPropertiesFromIndex(index, X, Y)
Intern verwendet, um das Paar X1Property, Y1Property, X1Property, Y2Property für den angegebenen Index um die Annotation herum abzuleiten. e.g. index 0 gibt X1,Y1 index 1 zurück, X2,Y1 index 2 gibt X2,Y2 index 3 zurück, X1,Y2
- index
- Der Index
- X
- Y
public override IAxis GetUsedAxis()
result = horizontalLineAnnotation.GetUsedAxis()
Gibt Achse zurück, die aktuelle Annotation zeigt Datenwert für
protected override void SetBasePoint(Point newPoint, int index, IAxis xAxis, IAxis yAxis)
horizontalLineAnnotation.SetBasePoint(newPoint, index, xAxis, yAxis)
Intern auf Marshal-Pixelpunkte aufgerufen, werden X1,Y1,X2,Y2-Werte angezeigt. Unter Verwendung eines Pixelpunkts () und eines Basispunkts werden die X,Y-Datenwerte festgelegt.
- newPoint
- Der Pixelpunkt
- index
- Der Basispunktindex, wobei sich 0, 1, 2, 3 auf die vier Ecken einer Annotation beziehen
- xAxis
- Die aktuelle X-Achse
- yAxis
- Die aktuelle Y-Achse
Felder
public static readonly DependencyProperty HorizontalAlignmentProperty
value = HorizontalLineAnnotation.HorizontalAlignmentProperty
Definiert die HorizontalAlignmentEigenschaft
public static readonly DependencyProperty YDragStepProperty
value = HorizontalLineAnnotation.YDragStepProperty
Definiert die YDragStepEigenschaft