VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
In This Topic
    VintaSoft Imaging .NET SDK: API changes in version 15.1
    In This Topic

    New assembly Vintasoft.Imaging.CadCodec.dll

    Vintasoft.Imaging.CadCodec.dll - contains classes, which allow to decode and render CAD (DXF, DWG) files.


    API changes in Vintasoft.Imaging.dll

    New classes:

    public class Vintasoft.Imaging.StreamRequestEventArgs Provides data for a stream request event.
    public class Vintasoft.Imaging.Drawing.DrawingRadialGradientBrush Defines the radial gradient brush.
    public class Vintasoft.Imaging.Drawing.FormattedParagraphProperties Represents the TextParagraph properties.
    public class Vintasoft.Imaging.Drawing.FormattedRunProperties Represents the TextRun properties.
    public class Vintasoft.Imaging.Drawing.FormattedText Represents information about the formatted text.
    public class Vintasoft.Imaging.Drawing.TextParagraph Represents information about the text paragraph.
    public class Vintasoft.Imaging.Drawing.TextRun Represents information about the text run.
    public class Vintasoft.Imaging.Text.TextShaper Provides text shaping functionally for complex script reordering.
    public class Vintasoft.Imaging.Utils.SyncClipboard Implements the clipboard that is based on synchronous clipboard ( IObjectClipboard ).


    Renamed classes:

    public class Vintasoft.Imaging.Processing.ConversionException public class Vintasoft.Imaging.Processing.ProcessingResultException


    Changed classes:

    Vintasoft.Imaging.ImageData
    Added properties
    public bool HasBase64String { get; } Gets a value indicating whether this image data creates from Base64 string.
    public string MimeType { get; set; } Gets or sets the MIME-type.


    Vintasoft.Imaging.Codecs.Decoders.RenderingSettings
    Added properties
    public Vintasoft.Imaging.ImageColors.ColorBase BackgroundColor { get; set; } Gets or sets a color that is used as an image background in vector decoders.


    Vintasoft.Imaging.Codecs.Encoders.HtmlEncoderSettings
    Changed properties
    public Vintasoft.Imaging.Office.OpenXml.HtmlDocumentFormat DocumentFormat { get; set; } public Vintasoft.Imaging.Html.HtmlDocumentFormat DocumentFormat { get; set; }


    Vintasoft.Imaging.Drawing.DrawingEngine
    Added methods
    public void DrawFormattedText(Vintasoft.Imaging.Drawing.FormattedText, System.Drawing.PointF) Draws the specified formatted text at the specified System.Drawing.PointF .
    public void DrawFormattedText(Vintasoft.Imaging.Drawing.FormattedText, float, float) Draws the specified formatted text at the specified System.Drawing.PointF .
    public System.Drawing.SizeF MeasureFormattedText(Vintasoft.Imaging.Drawing.FormattedText) Measures the specified text when text is drawn with this drawing engine.


    Vintasoft.Imaging.Drawing.DrawingFactory
    Added methods
    public Vintasoft.Imaging.Drawing.IDrawingRadialGradientBrush CreateRadialGradientBrush(Vintasoft.Imaging.Drawing.IDrawingRadialGradientBrush) Creates a radial gradient brush and copies properties from specified radial gradient brush to the newly created brush.
    public Vintasoft.Imaging.Drawing.IDrawingRadialGradientBrush CreateRadialGradientBrush(System.Drawing.PointF, float, Vintasoft.Imaging.Drawing.GradientStop[]) Creates a radial gradient brush.


    Vintasoft.Imaging.Processing.ConversionProfileResult
    Renamed methods
    public Vintasoft.Imaging.Processing.ConversionException CreateConversionException() public Vintasoft.Imaging.Processing.ProcessingResultException CreateProcessingException()


    Vintasoft.Imaging.Text.Ucd.UnicodeCharacterDatabase
    Added methods
    public static bool HasBengaliText(string) Returns a value indicating whether the specified text contains Bengali text characters.
    public static bool IsBengaliCharacter(char) Returns a value indicating whether the specified character is Bengali character.


    New interfaces:

    public interface Vintasoft.Imaging.Utils.IAsyncClipboard Defines an interface that allows to asynchronously place data on and retrieve data from the clipboard.
    public interface Vintasoft.Imaging.Drawing.IDrawingRadialGradientBrush Provides an interface of brush that paints an area with a radial gradient.
    public interface Vintasoft.Imaging.Drawing.IDrawingCustomBrush Provides an interface of brush that has a custom style.


    New enumerations:

    public enum Vintasoft.Imaging.Drawing.TextParagraphJustification Specifies available types of paragraph justification.


    Moved enumerations:

    public enum Vintasoft.Imaging.Office.OpenXml.HtmlDocumentFormat public enum Vintasoft.Imaging.Html.HtmlDocumentFormat


    Changed enumerations:

    Vintasoft.Imaging.Drawing.BrushHatchStyle
    Added fields
    public Vintasoft.Imaging.Drawing.BrushHatchStyle LargeGrid Specifies horizontal and vertical lines, which cross and are spaced 50 percent closer together than hatch style Vintasoft.Imaging.Drawing.BrushHatchStyle.Cross .


    New delegates:

    public delegate Vintasoft.Imaging.Utils.AsyncClipboardCallback Provides callback for IAsyncClipboard methods.




    API changes in Vintasoft.Imaging.UI.dll

    Changed classes:

    Vintasoft.Imaging.UI.ImageViewer
    Added methods
    public Vintasoft.Imaging.VintasoftImage GetDisplayedFocusedImage() Returns an image, which is focused and displayed in image viewer.


    Vintasoft.Imaging.UI.VintasoftControl
    Added properties
    public bool HasTouchScreen { get; set; } Gets or sets a value indicating whether control uses touch screen.
    Added events
    public event System.EventHandler<Vintasoft.Imaging.UI.VintasoftControlEventArgs> TextEditingFinished Occurs when text editing finished.
    public event System.EventHandler<Vintasoft.Imaging.UI.VintasoftControlEventArgs> TextEditingStarting Occurs when text editing starting.


    Vintasoft.Imaging.UI.VisualTools.ImageProcessingTool
    Added properties
    public bool IsBorderVisibleWhenProcessing { get; set; } Gets or sets a value indicating whether border of this rectangular selection is visible when image is processing in viewer.
    public bool ProcessingDuringTransform { get; set; } Gets or sets a flag that indicates when process image.


    Vintasoft.Imaging.UI.VisualTools.UserInteraction.PointBasedObjectPointBuilder
    Added properties
    public static System.Windows.Forms.MouseButtons DefaultFinishBuildingButton { get; set; } Gets or sets the mouse button that should be used to finish the object build.
    public static System.Windows.Forms.MouseButtons DefaultRemoveLastPointButton { get; set; } Gets or sets the mouse button that should be used to remove the last point from the object.
    public System.Windows.Forms.MouseButtons FinishBuildingButton { get; set; } Gets or sets the mouse button that should be used to finish the object build.
    public System.Windows.Forms.MouseButtons RemoveLastPointButton { get; set; } Gets or sets the mouse button that should be used to remove the last point from the object.




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

    Changed classes:

    Vintasoft.Imaging.Wpf.UI.WpfImageViewer
    Added methods
    public Vintasoft.Imaging.VintasoftImage GetDisplayedFocusedImage() Returns an image, which is focused and displayed in image viewer.


    Vintasoft.Imaging.Wpf.UI.VisualTools.WpfImageProcessingTool
    Added properties
    public bool IsBorderVisibleWhenProcessing { get; set; } Gets or sets a value indicating whether border of this rectangular selection is visible when image is processing in viewer.
    public bool ProcessingDuringTransform { get; set; } Gets or sets a flag that indicates when process image.


    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfPointBasedObjectPointBuilder
    Added properties
    public static Vintasoft.Imaging.UI.VintasoftMouseButtons DefaultFinishBuildingButton { get; set; } Gets or sets the mouse button that should be used to finish the object build.
    public static Vintasoft.Imaging.UI.VintasoftMouseButtons DefaultRemoveLastPointButton { get; set; } Gets or sets the mouse button that should be used to remove the last point from the object.
    public Vintasoft.Imaging.UI.VintasoftMouseButtons FinishBuildingButton { get; set; } Gets or sets the mouse button that should be used to finish the object build.
    public Vintasoft.Imaging.UI.VintasoftMouseButtons RemoveLastPointButton { get; set; } Gets or sets the mouse button that should be used to remove the last point from the object.