VintaSoft Imaging .NET SDK 11.0
In This Topic
    VintaSoft Imaging .NET SDK: API changes in version 10.1
    In This Topic

    API changes in Vintasoft.Imaging.dll

    New classes:

    public abstract class Vintasoft.Imaging.Drawing.DrawingUtils Contains collection of helper-algorithms for drawing.
    public class Vintasoft.Imaging.Fonts.FileFontProgramsController Provides access to the system (installed) fonts and/or fonts located in specified directories.
    public class Vintasoft.Imaging.Fonts.FileFontProgramsControllerBase Base class that provides access to the external font programs located as files in a file system.
    public class Vintasoft.Imaging.Fonts.FileFontProgramsControllerWithFallbackFont Provides access to the system (installed) fonts and/or fonts located in specified directories using fallback font when target font is not found.
    public class Vintasoft.Imaging.Fonts.FontInfo Provides an information about font.
    public class Vintasoft.Imaging.Fonts.FontProgramNotFoundException Represents error that occurs if font program is not found.
    public class Vintasoft.Imaging.Fonts.FontProgramsControllerBase Base class that provides access to external font programs.
    public class Vintasoft.Imaging.Fonts.FontProgramSearchResult Stores result of font program search.
    public class Vintasoft.Imaging.Fonts.TrueTypeFontProperties Provides the properties of TrueType font.
    public class Vintasoft.Imaging.Utils.CollectionDebugView<T> Defines debugger type proxy for System.Collections.Generic.ICollection type.


    Changed classes:

    Vintasoft.Imaging.Codecs.Decoders.DocumentLayoutSettings
    Added properties
    public Vintasoft.Imaging.Fonts.FontProgramsControllerBase FontProgramsController { get; set; } Gets or sets the font programs controller that allows to access external font programs.


    Vintasoft.Imaging.Codecs.Decoders.WmfDecoder
    Added properties
    public bool IsVectorDecoder { get; } Gets a value indicating whether the decoder is a vector decoder.
    Added methods
    public Vintasoft.Imaging.VintasoftImage GetImage(int, System.Drawing.RectangleF, float, Vintasoft.Imaging.Codecs.Decoders.DecodingSettings, Vintasoft.Imaging.Codecs.Decoders.RenderingSettings, System.EventHandler<Vintasoft.Imaging.ProgressEventArgs>, System.EventHandler<Vintasoft.Imaging.ImageRendering.IntermediateImageRequestEventArgs>) Returns a scaled rectangle of vector image.


    Vintasoft.Imaging.Drawing.DrawingEngine
    Added methods
    public void DrawString(string, Vintasoft.Imaging.Drawing.IDrawingFont, Vintasoft.Imaging.Drawing.IDrawingPen, Vintasoft.Imaging.Drawing.IDrawingBrush, Vintasoft.Imaging.Drawing.IGraphicsPath) Draws the specified unicode string at the specified location using the specified Vintasoft.Imaging.Drawing.IDrawingBrush and Vintasoft.Imaging.Drawing.IDrawingFont objects.
    public void DrawString(string, Vintasoft.Imaging.Drawing.IDrawingFont, Vintasoft.Imaging.Drawing.IDrawingPen, Vintasoft.Imaging.Drawing.IDrawingBrush, Vintasoft.Imaging.Drawing.IGraphicsPath, Vintasoft.Imaging.AffineMatrix) Draws the specified unicode string at the specified location using the specified Vintasoft.Imaging.Drawing.IDrawingBrush and Vintasoft.Imaging.Drawing.IDrawingFont objects.


    Vintasoft.Imaging.Drawing.DrawingToolsFactory
    Added methods
    public Vintasoft.Imaging.Drawing.IDrawingFont CreateFont(string, float) Creates the font, which is based on font program.


    Vintasoft.Imaging.Drawing.GraphicsPathData
    Added methods
    public float GetLength() Returns a length of the current path.


    Vintasoft.Imaging.Drawing.Gdi.GdiFont
    Added properties
    public float LineHeight { get; } Gets the the vertical distance between the base lines of two consecutive lines of text.
    public float TextHeight { get; } Gets the height of the text line.
    Removed properties
    public float LineSpacing { get; } Use LineHeight and TextHeight properties instead.
    Added methods
    public Vintasoft.Imaging.Drawing.Gdi.GdiFont FromFontFile(string, float) Creates the font using the specified font file stream in TTF format.


    Vintasoft.Imaging.Drawing.Gdi.GdiGraphics
    Added properties
    public bool CharacterIndividuallyPositioning { get; set; } Gets or sets a value indicating whether the text renderer must individually positioning the text characters.


    Vintasoft.Imaging.Drawing.Gdi.GdiToolsFactory
    Added methods
    public Vintasoft.Imaging.Drawing.IDrawingFont CreateFont(string, float) Creates the font, which is based on font program.


    Vintasoft.Imaging.ImageColors.Rgb24Color
    Added methods
    public float GetLuminance() Returns the luminance of this color.


    Changed interfaces:

    Vintasoft.Imaging.Drawing.IDrawingFont
    Added properties
    public float LineHeight { get; } Gets the the vertical distance between the base lines of two consecutive lines of text.
    public float TextHeight { get; } Gets the height of the text line.
    Removed properties
    public float LineSpacing { get; } Use LineHeight and TextHeight properties instead.


    New enumerations:

    public enum Vintasoft.Imaging.Fonts.FontCharacteristics Specifies available characteristics of a font.
    public enum Vintasoft.Imaging.Fonts.FontFallbackType Specifies available fallback types for a font.
    public enum Vintasoft.Imaging.Fonts.FontStretch Specifies available stretches for a font.
    public enum Vintasoft.Imaging.Fonts.FontWeight Specifies available weights for a font.




    API changes in Vintasoft.Imaging.UI.dll

    Changed classes:

    Vintasoft.Imaging.UI.VisualTools.PolygonalSelectionRegion
    Changed methods
    public Vintasoft.Imaging.PointFTransform GetPointTransform(Vintasoft.Imaging.UI.ImageViewer) public Vintasoft.Imaging.PointFTransform GetPointTransform(Vintasoft.Imaging.UI.ImageViewer, Vintasoft.Imaging.VintasoftImage)


    Vintasoft.Imaging.UI.VisualTools.SelectionRegionBase
    Changed methods
    public Vintasoft.Imaging.PointFTransform GetPointTransform(Vintasoft.Imaging.UI.ImageViewer) public Vintasoft.Imaging.PointFTransform GetPointTransform(Vintasoft.Imaging.UI.ImageViewer, Vintasoft.Imaging.VintasoftImage)


    Vintasoft.Imaging.UI.VisualTools.UserInteraction.ComboBoxObjectTransformer
    Added properties
    public bool HasAppearance { get; } Gets a value indicating whether this interaction controller has appearance.
    Added methods
    public void DrawAppearance(Vintasoft.Imaging.UI.ImageViewer, Vintasoft.Imaging.VintasoftImage, Vintasoft.Imaging.Drawing.DrawingEngine) Draws the interaction controller appearance on specifed graphics engine.
    public void UpdateDropDownButtonLocationAndSize(Vintasoft.Imaging.UI.ImageViewer, Vintasoft.Imaging.VintasoftImage) Updates the location and size of Vintasoft.Imaging.UI.VisualTools.UserInteraction.ComboBoxObjectTransformer.DropDownButton.


    Vintasoft.Imaging.UI.VisualTools.UserInteraction.CompositeInteractionController
    Added properties
    public bool HasAppearance { get; } Gets a value indicating whether this interaction controller has appearance.
    Added methods
    public void DrawAppearance(Vintasoft.Imaging.UI.ImageViewer, Vintasoft.Imaging.VintasoftImage, Vintasoft.Imaging.Drawing.DrawingEngine) Draws the interaction controller appearance on specifed graphics engine.


    Vintasoft.Imaging.UI.VisualTools.UserInteraction.InteractionControllerBase<T>
    Added properties
    public bool HasAppearance { get; } Gets a value indicating whether this interaction controller has appearance.
    Added methods
    public void DrawAppearance(Vintasoft.Imaging.UI.ImageViewer, Vintasoft.Imaging.VintasoftImage, Vintasoft.Imaging.Drawing.DrawingEngine) Draws the interaction controller appearance on specifed graphics engine.


    Changed interfaces:

    Vintasoft.Imaging.UI.VisualTools.UserInteraction.IInteractionController
    Added properties
    public bool HasAppearance { get; } Gets a value indicating whether this interaction controller has appearance.
    Added methods
    public void DrawAppearance(Vintasoft.Imaging.UI.ImageViewer, Vintasoft.Imaging.VintasoftImage, Vintasoft.Imaging.Drawing.DrawingEngine) Draws the interaction controller appearance on specifed graphics engine.


    Vintasoft.Imaging.UI.VisualTools.UserInteraction.IInteractiveObject
    Changed methods
    public Vintasoft.Imaging.PointFTransform GetPointTransform(Vintasoft.Imaging.UI.ImageViewer) public Vintasoft.Imaging.PointFTransform GetPointTransform(Vintasoft.Imaging.UI.ImageViewer, Vintasoft.Imaging.VintasoftImage)




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

    Changed classes:

    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfComboBoxObjectTransformer
    Added properties
    public bool HasAppearance { get; } Gets a value indicating whether this interaction controller has appearance.
    Added methods
    public void DrawAppearance(Vintasoft.Imaging.Wpf.UI.WpfImageViewer, Vintasoft.Imaging.VintasoftImage, System.Windows.Media.DrawingContext) Draws the interaction controller appearance on specifed graphics engine.


    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfCompositeInteractionController
    Added properties
    public bool HasAppearance { get; } Gets a value indicating whether this interaction controller has appearance.
    Added methods
    public void DrawAppearance(Vintasoft.Imaging.Wpf.UI.WpfImageViewer, Vintasoft.Imaging.VintasoftImage, System.Windows.Media.DrawingContext) Draws the interaction controller appearance on specifed graphics engine.


    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfInteractionControllerBase<T>
    Added properties
    public bool HasAppearance { get; } Gets a value indicating whether this interaction controller has appearance.
    Added methods
    public void DrawAppearance(Vintasoft.Imaging.Wpf.UI.WpfImageViewer, Vintasoft.Imaging.VintasoftImage, System.Windows.Media.DrawingContext) Draws the interaction controller appearance on specifed graphics engine.


    Changed interfaces:

    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractionController
    Added properties
    public bool HasAppearance { get; } Gets a value indicating whether this interaction controller has appearance.
    Added methods
    public void DrawAppearance(Vintasoft.Imaging.Wpf.UI.WpfImageViewer, Vintasoft.Imaging.VintasoftImage, System.Windows.Media.DrawingContext) Draws the interaction controller appearance on specifed graphics engine.


    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractiveObject
    Changed methods
    public Vintasoft.Imaging.Wpf.WpfPointTransform GetPointTransform(Vintasoft.Imaging.Wpf.UI.WpfImageViewer) public Vintasoft.Imaging.Wpf.WpfPointTransform GetPointTransform(Vintasoft.Imaging.Wpf.UI.WpfImageViewer, Vintasoft.Imaging.VintasoftImage)