VintaSoft Imaging .NET SDK 14.1: Documentation for .NET developer
In This Topic
    VintaSoft Annotation .NET Plug-in: API changes in version 14.1
    In This Topic

    API changes in Vintasoft.Imaging.Annotation.dll

    New classes:

    public class Vintasoft.Imaging.Annotation.InkAnnotationData Contains information about the annotation that displays a freehand lines composed of one or more disjoint paths.


    Removed classes:

    public class Vintasoft.Imaging.Annotation.ObjectConverter This class is no longer supported. Use the AnnotationGdiConverter class (Vintasoft.Imaging.Annotation.UI assembly) instead.


    Changed classes:

    Vintasoft.Imaging.Annotation.AnnotationFont
    Removed properties
    public int CharSet { get; set; } This property is no longer supported.
    Removed constructors
    public void AnnotationFont(string, float, bool, bool, bool, bool, Vintasoft.Imaging.Annotation.AnnotationFontUnit, int) This constructor is no longer supported. Use public void AnnotationFont(string, float, bool, bool, bool, bool, Vintasoft.Imaging.Annotation.AnnotationFontUnit) constructor instead.


    Vintasoft.Imaging.Annotation.AnnotationPen
    Removed properties
    public Vintasoft.Imaging.Annotation.AnnotationPenAlignment Alignment { get; set; } This property is no longer supported.
    Added constructors
    public void AnnotationPen() Initializes a new instance of the AnnotationPen class.


    Vintasoft.Imaging.Annotation.EmbeddedImageAnnotationData
    Added methods
    public byte[] GetImageAsSvgData() Returns the Image as SVG data if Image is vector image.


    Vintasoft.Imaging.Annotation.ImageAnnotationData
    Added properties
    public bool IsVectorImage { get; } Gets a value indicating whether Image is a vector image.


    Changed enumerations:

    Vintasoft.Imaging.Annotation.LineCapStyles
    Added fields
    public Vintasoft.Imaging.Annotation.LineCapStyles AttachedDiamond Attached diamond (rhomb).
    public Vintasoft.Imaging.Annotation.LineCapStyles AttachedRectangle Attached rectangle.
    public Vintasoft.Imaging.Annotation.LineCapStyles AttachedEllipse Attached ellipse.
    public Vintasoft.Imaging.Annotation.LineCapStyles AttachedClosedArrow Attached arrow with drawn bottom line.
    public Vintasoft.Imaging.Annotation.LineCapStyles AttachedFilledDiamond Attached filled diamond (rhomb).
    public Vintasoft.Imaging.Annotation.LineCapStyles AttachedFilledRectangle Attached filled rectangle.
    public Vintasoft.Imaging.Annotation.LineCapStyles AttachedFilledEllipse Attached filled ellipse.
    public Vintasoft.Imaging.Annotation.LineCapStyles AttachedFilledArrow Attached filled arrow with drawn bottom line.




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

    New classes:

    public class Vintasoft.Imaging.Annotation.UI.InkAnnotationView Determines how to display the annotation that displays an ink and how user can interact with annotation.
    public class Vintasoft.Imaging.Annotation.UI.VisualTools.UserInteraction.PointBasedInkAnnotationBuilder Represents an interaction controller that builds a InkAnnotationData .


    Changed classes:

    Vintasoft.Imaging.Annotation.UI.AnnotationView
    Added methods
    public bool IsPointOnFigure(System.Drawing.PointF, bool) Returns a value indicating whether the specified point is contained within the annotation.


    Vintasoft.Imaging.Annotation.UI.VisualTools.AnnotationVisualTool
    Added properties
    public System.Drawing.Pen EraserPen { get; set; } Gets or sets the System.Drawing.Pen that is used to draw the eraser selection.
    public bool EraserRemovesObjectImmediately { get; set; } Gets or sets a value indicating whether eraser must remove object immediately when mouse cursor hovers object.


    Changed enumerations:

    Vintasoft.Imaging.Annotation.UI.AnnotationInteractionMode
    Added fields
    public Vintasoft.Imaging.Annotation.UI.AnnotationInteractionMode AnnotationEraser Annotations are shown in the AnnotationViewer , annotations can be erased using mouse.
    public Vintasoft.Imaging.Annotation.UI.AnnotationInteractionMode PencilEraser Annotations are shown in the AnnotationViewer , points of Ink-annotations can be erased using mouse.




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

    New classes:

    public class Vintasoft.Imaging.Annotation.Wpf.UI.WpfInkAnnotationView Determines how to display the annotation that displays an ink and how user can interact with annotation.
    public class Vintasoft.Imaging.Annotation.Wpf.UI.VisualTools.UserInteraction.WpfPointBasedInkAnnotationBuilder Represents an interaction controller that builds a InkAnnotationData .


    Changed classes:

    Vintasoft.Imaging.Annotation.Wpf.UI.WpfAnnotationView
    Added methods
    public bool IsPointOnFigure(System.Windows.Point, bool) Returns a value indicating whether the specified point is contained within the annotation.


    Vintasoft.Imaging.Annotation.Wpf.UI.VisualTools.WpfAnnotationVisualTool
    Added properties
    public System.Windows.Media.Pen EraserPen { get; set; } Gets or sets the System.Windows.Media.Pen that is used to draw the eraser selection.
    public bool EraserRemovesObjectImmediately { get; set; } Gets or sets a value indicating whether eraser must remove object immediately when mouse cursor hovers object.