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

    Convert custom annotation from version 11.0 or earlier to version 12.0

    Version 11.0 uses annotation renderers, which are based on System.Drawing (GDI+) and can be used in Windows only. Renderers in version 11.0 use System.Drawing.Graphics class for drawing annotation appearance on image.
    Version 12.0 uses annotation renderers, which are based on DrawingEngine class and can be used in Windows, Linux and macOS. Renderers in version 12.0 use DrawingEngine class for drawing annotation appearance on image.

    If you have custom annotation with renderer for version 11.0 or earlier, you need to convert annotation renderer and draw 2D graphics using DrawingEngine class instead of System.Drawing.Graphics class.

    Example below shows how to convert annotation renderer for MarkAnnotation:
    1. Derive annotation renderer from Vintasoft.Imaging.Annotation.Rendering.AnnotationRenderer class instead of Vintasoft.Imaging.Annotation.Rendering.AnnotationGraphicsRenderer class:
      Version 11
      public class MarkAnnotationRenderer : Vintasoft.Imaging.Annotation.Rendering.AnnotationGraphicsRenderer
      

      Version 12
      public class MarkAnnotationRenderer : Vintasoft.Imaging.Annotation.Rendering.AnnotationRenderer
      


    2. Use classes from Vintasoft.Imaging.Drawing namespace instead of classes from System.Drawing namespace:
      • Override the AnnotationView.RenderInContentSpace method - new method gets instance of DrawingEngine class as first parameter.
      • Use interfaces from Vintasoft.Imaging.Drawing namespace instead of GDI+ structures.
      • Pass DrawingFactory as the first parameter in all calls for methods of ObjectConverter class.

      Version 11
      /// <summary>
      /// Returns a mark annotation as System.Drawing.GraphicsPath
      /// in content space.
      /// </summary>
      public virtual System.Drawing.Drawing2D.GraphicsPath GetAsGraphicsPath()
      {
          System.Drawing.Drawing2D.GraphicsPath path =
              new System.Drawing.Drawing2D.GraphicsPath();
      
          System.Drawing.PointF[] referencePoints =
              MarkAnnoData.GetReferencePointsInContentSpace();
      
          switch (MarkAnnoData.MarkType)
          {
              case DemosCommonCode.Annotation.MarkAnnotationType.Tick:
                  path.AddCurve(referencePoints);
                  break;
              default:
                  path.AddPolygon(referencePoints);
                  break;
          }
      
          return path;
      }
      
      /// <summary>
      /// Renders the annotation on the System.Drawing.Graphics in
      /// the coordinate space of annotation.
      /// </summary>
      /// <param name="g">The System.Drawing.Graphics to draw on.</param>
      /// <param name="drawingSurface">The object that provides information
      /// about drawing surface.</param>
      protected override void RenderInContentSpace(
          System.Drawing.Graphics g,
          Vintasoft.Imaging.DrawingSurface drawingSurface)
      {
          using (System.Drawing.Drawing2D.GraphicsPath path =
              GetAsGraphicsPath())
          {
              if (Data.FillBrush != null)
              {
                  using (System.Drawing.Brush brush =
                      ObjectConverter.CreateDrawingBrush(Data.FillBrush))
                  {
                      g.FillPath(brush, path);
                  }
              }
              if (Data.Border)
              {
                  using (System.Drawing.Pen pen =
                      ObjectConverter.CreateDrawingPen(Data.Outline))
                  {
                      g.DrawPath(pen, path);
                  }
              }
          }
      }
      

      Version 12
      /// <summary>
      /// Returns a mark annotation as Vintasoft.Imaging.Drawing.IGraphicsPath
      /// in content space.
      /// </summary>
      public virtual Vintasoft.Imaging.Drawing.IGraphicsPath GetAsGraphicsPath(
          Vintasoft.Imaging.Drawing.DrawingFactory drawingFactory)
      {
          Vintasoft.Imaging.Drawing.IGraphicsPath path =
              drawingFactory.CreateGraphicsPath();
      
          System.Drawing.PointF[] referencePoints =
              MarkAnnoData.GetReferencePointsInContentSpace();
      
          switch (MarkAnnoData.MarkType)
          {
              case DemosCommonCode.Annotation.MarkAnnotationType.Tick:
                  path.AddCurve(referencePoints);
                  break;
              default:
                  path.AddPolygon(referencePoints);
                  break;
          }
      
          return path;
      }
      
      /// <summary>
      /// Renders the annotation on the Vintasoft.Imaging.Drawing.DrawingEngine
      /// in the coordinate space of annotation.
      /// </summary>
      /// <param name="drawingEngine">The Vintasoft.Imaging.Drawing.DrawingEngine
      /// to render on.</param>
      /// <param name="drawingSurface">The object that provides information about
      /// drawing surface.</param>
      protected override void RenderInContentSpace(
          Vintasoft.Imaging.Drawing.DrawingEngine drawingEngine,
          Vintasoft.Imaging.DrawingSurface drawingSurface)
      {
          using (Vintasoft.Imaging.Drawing.IGraphicsPath path =
              GetAsGraphicsPath(drawingEngine.DrawingFactory))
          {
              if (Data.FillBrush != null)
              {
                  using (Vintasoft.Imaging.Drawing.IDrawingBrush brush =
                      ObjectConverter.CreateDrawingBrush(drawingEngine, Data.FillBrush))
                  {
                      drawingEngine.FillPath(brush, path);
                  }
              }
              if (Data.Border)
              {
                  using (Vintasoft.Imaging.Drawing.IDrawingPen pen =
                      ObjectConverter.CreateDrawingPen(drawingEngine, Data.Outline))
                  {
                      drawingEngine.DrawPath(pen, path);
                  }
              }
          }
      }
      

    3. Register new annotation renderer in Vintasoft.Imaging.Annotation.Rendering.AnnotationRendererFactory class instead of Vintasoft.Imaging.Annotation.Rendering.AnnotationGraphicsRendererFactory class:
      Version 11
      AnnotationGraphicsRendererFactory.RegisterRendererForAnnotationData(typeof(MarkAnnotationData), typeof(MarkAnnotationRenderer));
      

      Version 12
      AnnotationRendererFactory.RegisterRendererForAnnotationData(typeof(MarkAnnotationData), typeof(MarkAnnotationRenderer));
      



    API changes in Vintasoft.Imaging.Annotation.dll

    New classes:

    public abstract class Vintasoft.Imaging.Annotation.Rendering. AnnotationRendererFactory Provides the ability to create the AnnotationRenderer for annotation data (AnnotationData).
    public abstract class Vintasoft.Imaging.Drawing. DrawingFactoryAnnotationsExtensions Provides the annotations extensions for DrawingFactory class.
    public abstract class Vintasoft.Imaging.Annotation.Rendering. AnnotationRenderer Provides the abstract base class that determines how to render an annotation.
    public abstract class Vintasoft.Imaging.Annotation.Rendering. CompositeAnnotationRenderer Provides the abstract base class that determines how to render a composite annotation.
    public abstract class Vintasoft.Imaging.Annotation.Rendering. LineAnnotationRendererBase Determines how to render the LineAnnotationDataBase.
    public class Vintasoft.Imaging.Annotation.Rendering. AngleAnnotationRenderer Determines how to render the AngleAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. ArcAnnotationRenderer Determines how to render the ArcAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. ArrowAnnotationRenderer Determines how to render the ArrowAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. EllipseAnnotationRenderer Determines how to render the EllipseAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. FreeTextAnnotationRenderer Determines how to render the FreeTextAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. GroupAnnotationRenderer Determines how to render the GroupAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. HighlightAnnotationRenderer Determines how to render the HighlightAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. ImageAnnotationRenderer Determines how to render the ImageAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. LineAnnotationRenderer Determines how to render the LineAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. LinesAnnotationRenderer Determines how to render the LinesAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. LinkAnnotationRenderer Determines how to render the LinkAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. PolygonAnnotationRenderer Determines how to render the PolygonAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. RectangleAnnotationRenderer Determines how to render the RectangleAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. RulerAnnotationRenderer Determines how to render the RulerAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. RulersAnnotationRenderer Determines how to render the RulersAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. StampAnnotationRenderer Determines how to render the StampAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. StickyNoteAnnotationRenderer Determines how to render the StickyNoteAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. TextAnnotationRenderer Determines how to render the TextAnnotationData.
    public class Vintasoft.Imaging.Annotation.Rendering. AnnotatedRenderingSurface The drawing surface that allows to draw annotations with color blending.


    Removed classes:

    public abstract class Vintasoft.Imaging.Annotation.Rendering. AnnotationGraphicsRendererFactory This class is removed because it depends from System.Drawing.Common. Use class AnnotationRendererFactory (factory for cross-platform renderers of annotations) instead of removed class.
    public abstract class Vintasoft.Imaging.Annotation.Rendering. AnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class AnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public abstract class Vintasoft.Imaging.Annotation.Rendering. CompositeAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class CompositeAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public abstract class Vintasoft.Imaging.Annotation.Rendering. LineAnnotationGraphicsRendererBase This class is removed because it depends from System.Drawing.Common. Use class LineAnnotationRendererBase (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. AngleAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class ArrowAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. ArcAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class ArcAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. ArrowAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class ArrowAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. EllipseAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class EllipseAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. FreeTextAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class FreeTextAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. GroupAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class GroupAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. HighlightAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class HighlightAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. ImageAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class ImageAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. LineAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class LineAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. LinesAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class LinesAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. LinkAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class LinkAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. PolygonAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class PolygonAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. RectangleAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class RectangleAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. RulerAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class RulerAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. RulersAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class RulersAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. StampAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class StampAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. StickyNoteAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class StickyNoteAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.
    public class Vintasoft.Imaging.Annotation.Rendering. TextAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class TextAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.


    Changed classes:

    Vintasoft.Imaging.Annotation. AnnotationFont
    Removed methods
    public void Dispose() Method is removed because class does not implement interface IDisposable any more.




    Vintasoft.Imaging.Annotation. AnnotationHatchBrush
    Changed properties
    public System.Drawing.Drawing2D. HatchStyle HatchStyle { get ; } public Vintasoft.Imaging.Drawing. BrushHatchStyle HatchStyle { get ; }


    Changed constructors
    public void AnnotationHatchBrush(System.Drawing.Drawing2D. HatchStyle, System.Drawing. Color) public void AnnotationHatchBrush(Vintasoft.Imaging.Drawing. BrushHatchStyle, System.Drawing. Color)
    public void AnnotationHatchBrush(System.Drawing.Drawing2D. HatchStyle, System.Drawing. Color, System.Drawing. Color) public void AnnotationHatchBrush(Vintasoft.Imaging.Drawing. BrushHatchStyle, System.Drawing. Color, System.Drawing. Color)




    Vintasoft.Imaging.Annotation. AnnotationImageBrush
    Changed properties
    public System.Drawing.Drawing2D. Matrix Transform { get ; set ; } public Vintasoft.Imaging. AffineMatrix Transform { get ; set ; }
    public System.Drawing.Drawing2D. WrapMode WrapMode { get ; set ; } public Vintasoft.Imaging.Drawing. BrushTileMode WrapMode { get ; set ; }


    Changed constructors
    public void AnnotationImageBrush(Vintasoft.Imaging. VintasoftImage, System.Drawing.Drawing2D. WrapMode) public void AnnotationImageBrush(Vintasoft.Imaging. VintasoftImage, Vintasoft.Imaging.Drawing. BrushTileMode)
    public void AnnotationImageBrush(Vintasoft.Imaging. VintasoftImage, System.Drawing.Drawing2D. WrapMode, System.Drawing. Rectangle) public void AnnotationImageBrush(Vintasoft.Imaging. VintasoftImage, Vintasoft.Imaging.Drawing. BrushTileMode, System.Drawing. Rectangle)




    Vintasoft.Imaging.Annotation. AnnotationLinearGradientBrush
    Added properties
    public float GradientAngle { get ; set ; } Gets or sets the angle, measured in degrees clockwise from the X-axis, of the gradient's orientation line.


    Changed properties
    public System.Drawing.Drawing2D. Matrix Transform { get ; } public Vintasoft.Imaging. AffineMatrix Transform { get ; set ; }
    public System.Drawing.Drawing2D. WrapMode WrapMode { get ; set ; } public Vintasoft.Imaging.Drawing. BrushTileMode WrapMode { get ; set ; }


    Changed constructors
    public void AnnotationLinearGradientBrush(System.Drawing. RectangleF, System.Drawing. Color, System.Drawing. Color, System.Drawing.Drawing2D. LinearGradientMode) public void AnnotationLinearGradientBrush(System.Drawing. RectangleF, System.Drawing. Color, System.Drawing. Color, float)




    Vintasoft.Imaging.Annotation. FreeTextAnnotationData
    Changed properties
    public System.Drawing. ContentAlignment TextAlign { get ; set ; } public Vintasoft.Imaging. AnchorType TextAlign { get ; set ; }




    Vintasoft.Imaging.Annotation. HighlightAnnotationData
    Changed properties
    public Vintasoft.Imaging.ImageProcessing. BlendingMode BlendingMode { get ; set ; } public Vintasoft.Imaging. BlendingMode BlendingMode { get ; set ; }




    Vintasoft.Imaging.Annotation. LineAnnotationDataBase
    Changed properties
    public Vintasoft.Imaging.ImageProcessing. BlendingMode BlendingMode { get ; set ; } public Vintasoft.Imaging. BlendingMode BlendingMode { get ; set ; }




    Vintasoft.Imaging.Annotation. LinkAppearance
    Removed methods
    public void Dispose() Method is removed because class does not implement interface IDisposable any more.




    Vintasoft.Imaging.Annotation. ObjectConverter
    Added constructors
    public void ObjectConverter() Initializes a new instance of the ObjectConverter class.


    Removed methods
    public static Vintasoft.Imaging.Annotation. AnnotationBrushBase CreateAnnotationBrush(System.Drawing. Brush) This method is removed because it depends from System.Drawing.Common. Use DrawingFactoryAnnotationsExtensions.CreateBrush method instead.
    public static Vintasoft.Imaging.Annotation. AnnotationFont CreateAnnotationFont(System.Drawing. Font) This method is removed because it depends from System.Drawing.Common. Use DrawingFactoryAnnotationsExtensions.CreateFont method instead.
    public static Vintasoft.Imaging.Annotation. AnnotationFont CreateAnnotationFont(System.Drawing. Font, float) This method is removed because it depends from System.Drawing.Common. Use DrawingFactoryAnnotationsExtensions.CreateFont method instead.
    public static System.Drawing.Drawing2D. CustomLineCap CreateCustomLineCap(Vintasoft.Imaging.Annotation. LineCap, float) This method is removed because it depends from System.Drawing.Common. Use DrawingFactoryAnnotationsExtensions.CreateLineCap method instead.
    public static System.Drawing. Brush CreateDrawingBrush(Vintasoft.Imaging.Annotation. AnnotationBrushBase) This method is removed because it depends from System.Drawing.Common. Use DrawingFactoryAnnotationsExtensions.CreateBrush method instead.
    public static System.Drawing. Font CreateDrawingFont(Vintasoft.Imaging.Annotation. AnnotationFont) This method is removed because it depends from System.Drawing.Common. Use DrawingFactoryAnnotationsExtensions.CreateFont method instead.
    public static System.Drawing. FontFamily CreateDrawingFontFamily(Vintasoft.Imaging.Annotation. AnnotationFont) This method is removed because it depends from System.Drawing.Common. Use DrawingFactoryAnnotationsExtensions.CreateFont method instead.
    public static System.Drawing. FontStyle CreateDrawingFontStyle(Vintasoft.Imaging.Annotation. AnnotationFont) This method is removed because it depends from System.Drawing.Common. Use DrawingFactoryAnnotationsExtensions.CreateFont method instead.
    public static System.Drawing. Pen CreateDrawingPen(Vintasoft.Imaging.Annotation. AnnotationPen) This method is removed because it depends from System.Drawing.Common. Use DrawingFactoryAnnotationsExtensions.CreatePen method instead.




    Vintasoft.Imaging.Annotation. TextAnnotationData
    Changed properties
    public System.Drawing. ContentAlignment TextAlign { get ; set ; } public Vintasoft.Imaging. AnchorType TextAlign { get ; set ; }




    Vintasoft.Imaging.Annotation.Measurements. MeasurementAnnotationData
    Changed properties
    public System.Drawing. ContentAlignment TextBlockAlignment { get ; set ; } public Vintasoft.Imaging. AnchorType TextBlockAlignment { get ; set ; }




    Vintasoft.Imaging.Annotation.Measurements. MeasuringTextData
    Changed properties
    public System.Drawing. ContentAlignment TextBlockAlignment { get ; set ; } public Vintasoft.Imaging. AnchorType TextBlockAlignment { get ; set ; }






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

    New classes:

    public class Vintasoft.Imaging.Annotation. AnnotationGdiConverter Converts objects from the System.Drawing namespace to the objects from the Vintasoft.Imaging.Annotation namespace and back.


    Changed classes:

    Vintasoft.Imaging.Annotation.Measurements. MeasuringAnnotationView
    Changed methods
    public System.Drawing. PointF GetBindingPoint(System.Drawing. ContentAlignment) public System.Drawing. PointF GetBindingPoint(Vintasoft.Imaging. AnchorType)




    Vintasoft.Imaging.Annotation.UI. AnnotationView
    Changed properties
    protected Vintasoft.Imaging.Annotation.Rendering. AnnotationGraphicsRenderer Renderer { get ; } protected Vintasoft.Imaging.Annotation.Rendering. AnnotationRenderer Renderer { get ; }




    Vintasoft.Imaging.Annotation.UI. FreeTextAnnotationView
    Changed properties
    public System.Drawing. ContentAlignment TextAlign { get ; set ; } public Vintasoft.Imaging. AnchorType TextAlign { get ; set ; }




    Vintasoft.Imaging.Annotation.UI. HighlightAnnotationView
    Changed properties
    public Vintasoft.Imaging.ImageProcessing. BlendingMode BlendingMode { get ; set ; } public Vintasoft.Imaging. BlendingMode BlendingMode { get ; set ; }




    Vintasoft.Imaging.Annotation.UI. LineAnnotationViewBase
    Changed properties
    public Vintasoft.Imaging.ImageProcessing. BlendingMode BlendingMode { get ; set ; } public Vintasoft.Imaging. BlendingMode BlendingMode { get ; set ; }




    Vintasoft.Imaging.Annotation.UI. TextAnnotationView
    Changed properties
    public System.Drawing. ContentAlignment TextAlign { get ; set ; } public Vintasoft.Imaging. AnchorType TextAlign { get ; set ; }






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

    Changed classes:

    Vintasoft.Imaging.Annotation.Wpf.UI. WpfHighlightAnnotationView
    Changed properties
    public Vintasoft.Imaging.ImageProcessing. BlendingMode BlendingMode { get ; set ; } public Vintasoft.Imaging. BlendingMode BlendingMode { get ; set ; }




    Vintasoft.Imaging.Annotation.Wpf.UI. WpfLineAnnotationViewBase
    Changed properties
    public Vintasoft.Imaging.ImageProcessing. BlendingMode BlendingMode { get ; set ; } public Vintasoft.Imaging. BlendingMode BlendingMode { get ; set ; }






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

    Moved classes:

    public class Vintasoft.Imaging.Annotation.Pdf.Print. AnnotatedPdfPrintDocument Class is moved into Vintasoft.Imaging.Annotation.Pdf.UI.dll assembly.


    Changed classes:

    Vintasoft.Imaging.Annotation.Pdf. AnnotationConverter
    Added methods
    public static void Register() Registers annotation converter.






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

    Changed classes:

    Vintasoft.Imaging.Annotation.Dicom. TextStyle
    Changed properties
    public System.Drawing. Font Font { get ; set ; } public Vintasoft.Imaging.Annotation. AnnotationFont Font { get ; set ; }






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

    New classes:

    public class Vintasoft.Imaging.Annotation.Office. OfficeAnnotationRenderer Determines how to render the OfficeAnnotationData.


    Removed classes:

    public class Vintasoft.Imaging.Annotation.Office. OfficeAnnotationGraphicsRenderer This class is removed because it depends from System.Drawing.Common. Use class OfficeAnnotationRenderer (cross-platform renderer of annotation) instead of removed class.