VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
In This Topic
    VintaSoft Annotation .NET Plug-in: Changes in version 8.8
    In This Topic

    API changes in Vintasoft.Imaging.Annotation.dll

    New classes:

    public class Vintasoft.Imaging.Annotation.ArcAnnotationData Contains information about the annotation that displays an arc.
    public class Vintasoft.Imaging.Annotation.UI.ArcAnnotationView Determines how to display the annotation that displays an arc.
    public class Vintasoft.Imaging.Annotation.UI.VisualTools.UserInteraction.ArcTransformationInteractionPoint The interaction point that is used for changing of StartAngle or SweepAngle of arc annotation.
    public class Vintasoft.Imaging.Annotation.UI.VisualTools.UserInteraction.PointBasedArcAnnotationTransformer Interaction controller that transforms (moves/resizes/rotates) the ArcAnnotationView.


    Changed classes:

    Vintasoft.Imaging.Annotation.AnnotationDataCollection
    Added methods
    protected void OnAnnotationDataDeserializationException(Vintasoft.Imaging.Annotation.AnnotationDataDeserializationExceptionEventArgs) An exception occurs during deserialization of annotation data collection.
    Added events
    public event System.EventHandler<Vintasoft.Imaging.Annotation.AnnotationDataDeserializationExceptionEventArgs> AnnotationDataDeserializationException Occurs when an exception occurs during deserialization of annotation data collection.


    Vintasoft.Imaging.Annotation.UI.AnnotationView
    Added properties
    protected float ContainmentCheckDistance { get; } Gets a distance, which defines how the Vintasoft.Imaging.Annotation.UI.AnnotationView.IsPointOnFigure method must expand the annotation contour for determining whether the point is contained within the annotation.
    Changed methods
    public System.Drawing.Drawing2D.Matrix GetTransformFromContentSpace(Vintasoft.Imaging.DrawingSurface) public Vintasoft.Imaging.AffineMatrix GetTransformFromContentSpace(Vintasoft.Imaging.DrawingSurface)
    public System.Drawing.Drawing2D.Matrix GetTransformFromContentToImageSpace() public Vintasoft.Imaging.AffineMatrix GetTransformFromContentToImageSpace()
    protected void TransformFromContentSpaceToImageSpace(System.Drawing.Drawing2D.Matrix) protected void TransformFromContentSpaceToImageSpace(Vintasoft.Imaging.AffineMatrix)


    Changed interfaces:

    Vintasoft.Imaging.Annotation.UI.VisualTools.UserInteraction.IPointBasedAnnotation
    Added methods
    public System.Drawing.PointF GetRotationPoint() Returns the rotation point of point-based annotation.




    API changes in Vintasoft.Imaging.Annotation.Wpf.UI.dll

    New classes:

    public class Vintasoft.Imaging.Annotation.Wpf.UI.WpfArcAnnotationView Determines how to display the annotation that displays an arc.
    public class Vintasoft.Imaging.Annotation.Wpf.UI.VisualTools.UserInteraction.WpfArcTransformationInteractionPoint The interaction point that is used for changing of StartAngle or SweepAngle of arc annotation.
    public class Vintasoft.Imaging.Annotation.Wpf.UI.VisualTools.UserInteraction.WpfPointBasedArcAnnotationTransformer Interaction controller that transforms (moves/resizes/rotates) the WpfArcAnnotationView.


    Changed classes:

    Vintasoft.Imaging.Annotation.Wpf.UI.WpfAnnotationView
    Added properties
    protected double ContainmentCheckDistance { get; } Gets a distance, which defines how the Vintasoft.Imaging.Annotation.Wpf.UI.WpfAnnotationView.IsPointOnFigure method must expand the annotation contour for determining whether the point is contained within the annotation.


    Vintasoft.Imaging.Annotation.Wpf.UI.WpfAnnotationViewController
    Changed properties
    public Vintasoft.Imaging.Annotation.AnnotationDataController DataController { get; } public Vintasoft.Imaging.Annotation.AnnotationDataControllerBase DataController { get; }
    Changed constructors
    public void WpfAnnotationViewController(Vintasoft.Imaging.Annotation.AnnotationDataController) public void WpfAnnotationViewController(Vintasoft.Imaging.Annotation.AnnotationDataControllerBase)


    Changed interfaces:

    Vintasoft.Imaging.Annotation.Wpf.UI.VisualTools.UserInteraction.IWpfPointBasedAnnotation
    Added methods
    public System.Windows.Point GetRotationPoint() Returns the rotation point of point-based annotation.




    API changes in Vintasoft.Imaging.Annotation.Dicom.UI.dll

    Changed classes:

    Vintasoft.Imaging.Annotation.Dicom.UI.DicomCrosshairAnnotationView
    Added properties
    public float AxisTickDistance { get; set; } Gets or sets the distance, in units specified by the AxisUnits property, between ticks on axis.
    public Vintasoft.Imaging.UnitOfMeasure AxisUnits { get; set; } Gets or sets the units of measure for axes.
    public bool UseAxisUnits { get; set; } Gets or sets a value indicating whether the annotation must use units of measure for axes.
    Added methods
    protected string FormatLengthText(float) Formats the length of annotation.
    protected float GetLength(float, double, Vintasoft.Imaging.UnitOfMeasure) Returns the length in the specified unis of measure.




    API changes in Vintasoft.Imaging.Annotation.Dicom.Wpf.UI.dll

    Changed classes:

    Vintasoft.Imaging.Annotation.Dicom.Wpf.UI.WpfDicomCrosshairAnnotationView
    Added properties
    public float AxisTickDistance { get; set; } Gets or sets the distance, in units specified by the AxisUnits property, between ticks on axis.
    public Vintasoft.Imaging.UnitOfMeasure AxisUnits { get; set; } Gets or sets the units of measure for axes.
    public bool UseAxisUnits { get; set; } Gets or sets a value indicating whether the annotation must use units of measure for axes.
    Added methods
    protected string FormatLengthText(double) Formats the length of annotation.
    protected double GetLength(double, double, Vintasoft.Imaging.UnitOfMeasure) Returns the length in the specified unis of measure.