AnnotationData
Wird verwendet, um Annotations-Ziehdaten zu übertragen.
Implementiert: IDrawValue, IPersistable, IAnnotationData
Eigenschaften
public AnnotationCoordinateMode? CoordinateMode { get; set; }
value = annotationData.CoordinateMode
annotationData.CoordinateMode = value
Koordinatenmodus. Absolut bedeutet DateTime für X und Dezimalpreis für Y. Relativ bedeutet relativ zu den Bildschirmkanten: doppelt. 0=oben/links, 0,5=Mitte, 1=unten/rechts.
public Brush Fill { get; set; }
value = annotationData.Fill
annotationData.Fill = value
Brush zum Füllen des Hintergrunds.
public Brush Foreground { get; set; }
value = annotationData.Foreground
annotationData.Foreground = value
Brush zum Füllen des Hintergrunds.
public HorizontalAlignment? HorizontalAlignment { get; set; }
value = annotationData.HorizontalAlignment
annotationData.HorizontalAlignment = value
Ausrichtung für horizontale Linien.
public bool? IsEditable { get; set; }
value = annotationData.IsEditable
annotationData.IsEditable = value
Ob der Benutzer Annotation bearbeiten kann.
public bool? IsVisible { get; set; }
value = annotationData.IsVisible
annotationData.IsVisible = value
Zeigen/Verstecken von Anmerkungen.
public LabelPlacement? LabelPlacement { get; set; }
value = annotationData.LabelPlacement
annotationData.LabelPlacement = value
Etikettenplatzierung für horizontale und vertikale Linien.
public bool? ShowLabel { get; set; }
value = annotationData.ShowLabel
annotationData.ShowLabel = value
Schalten Sie die Etikettenshow für horizontale und vertikale Linien ein/aus.
public Brush Stroke { get; set; }
value = annotationData.Stroke
annotationData.Stroke = value
Pinsel, um Linien und Grenzen zu zeichnen.
public string Text { get; set; }
value = annotationData.Text
annotationData.Text = value
Text für Text-Annotation.
public Thickness? Thickness { get; set; }
value = annotationData.Thickness
annotationData.Thickness = value
Liniendicke.
public VerticalAlignment? VerticalAlignment { get; set; }
value = annotationData.VerticalAlignment
annotationData.VerticalAlignment = value
Ausrichtung auf vertikale Linien.
public IComparable X1 { get; set; }
value = annotationData.X1
annotationData.X1 = value
X1-Koordinate für die Anmerkungszeichnung. DateTime für den Koordinatenmodus Absolut oder RelativeY. Ansonsten verdoppeln.
public IComparable X2 { get; set; }
value = annotationData.X2
annotationData.X2 = value
X2-Koordinate für die Anmerkungszeichnung. DateTime für den Koordinatenmodus Absolut oder RelativeY. Ansonsten verdoppeln.
public IComparable Y1 { get; set; }
value = annotationData.Y1
annotationData.Y1 = value
Y1-Koordinate für die Anmerkungszeichnung. Dezimal für den Koordinatenmodus Absolut oder RelativeX. Ansonsten doppelt.
public IComparable Y2 { get; set; }
value = annotationData.Y2
annotationData.Y2 = value
Y2-Koordinate für die Anmerkungszeichnung. Dezimal für den Koordinatenmodus Absolut oder RelativeX. Ansonsten doppelt.
Methoden
public void Load(SettingsStorage storage)
annotationData.Load(storage)
Lasteinstellungen.
- storage
- Einstellungen Lagerung.
public void Save(SettingsStorage storage)
annotationData.Save(storage)
Einstellungen speichern.
- storage
- Einstellungen Lagerung.