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

    API changes in Vintasoft.Imaging.dll

    New classes:

    public class Vintasoft.Imaging.DocumentConverter Defines the document converter that provides multi-threading optimal algorithm for conversion of image collection to BMP, GIF, JBIG2, JPEG, JPEG2000, PBM, PCX, PDF, PNG, SVG, TIFF, BigTIFF, TGA or WEBP(.NET Core 3.1 or higher) format.
    public class Vintasoft.Imaging.ImageCollectionManager Manages asynchronous operations of an image collection.
    public class Vintasoft.Imaging.ImageData Represents an image data.
    public class Vintasoft.Imaging.ImageDecodingStartingEventArgs Provides event data for ImageDecodingStarting event.
    public class Vintasoft.Imaging.ImageEncodingStartingEventArgs Provides event data for ImageEncodingStarting event.
    public class Vintasoft.Imaging.ImageSourceEventArgs Provides event data for ImageSourceAddStarting and ImageSourceAddFinished events.
    public class Vintasoft.Imaging.ImageSourceExceptionEventArgs Provides event data for ImageSourceAddException event.
    public class Vintasoft.Imaging.Codecs.Decoders.DocumentEnvironmentProperties Provides environment properties of a document.


    Removed classes:

    public class Vintasoft.Imaging.PointFConverter This class is no longer supported. Use the VintasoftDrawingConverter class instead.


    Changed classes:

    Vintasoft.Imaging.ImageCollection
    Added properties
    public int Capacity { get ; set ; } Gets or sets the total number of elements the internal data structure can hold without resizing.
    public int Count { get ; } Gets the number of elements contained in the ImageCollection .
    public int IntermediateAddInterval { get ; set ; } Gets or sets the timeout, in milliseconds, which defines how long should decoder load images from source before adding loaded images to the image collection.
    public bool IsReadOnly { get ; } Gets a value indicating whether the System.Collections.Generic.ICollection is read-only.
    Changed properties
    public Vintasoft.Imaging.VintasoftImage Item { get ; } public Vintasoft.Imaging.VintasoftImage Item { get ; set ; }
    Added methods
    public System.Collections.ObjectModel.ReadOnlyCollection<Vintasoft.Imaging.VintasoftImage> AsReadOnly() Returns a read-only System.Collections.ObjectModel.ReadOnlyCollection wrapper for the current collection.
    public bool Contains(Vintasoft.Imaging.VintasoftImage) Determines whether this instance contains the object.
    public void CopyTo(Vintasoft.Imaging.VintasoftImage [], int) Copies the elements of the ImageCollection to an System.Array, starting at a particular System.Array index.
    public System.Collections.Generic.IEnumerator<Vintasoft.Imaging.VintasoftImage> GetEnumerator() Returns an enumerator that iterates through the collection.
    public void InsertFromImageSource(int, Vintasoft.Imaging.VintasoftImage []) Inserts the elements of collection into the ImageCollection at the specified index.
    Changed methods
    public int Add(Vintasoft.Imaging.VintasoftImage) public void Add(Vintasoft.Imaging.VintasoftImage)
    public void Remove(Vintasoft.Imaging.VintasoftImage) public bool Remove(Vintasoft.Imaging.VintasoftImage)


    Vintasoft.Imaging.ImageSavingEventArgs
    Added methods
    public void SetSavingImage(Vintasoft.Imaging.VintasoftImage) Sets the saving image.


    Vintasoft.Imaging.ImagingEnvironment
    Added methods
    public static void DrawErrorMessage(Vintasoft.Imaging.Drawing.DrawingEngine, System.Drawing.RectangleF, string) Draws the error message on specified DrawingEngine .


    Vintasoft.Imaging.RegionF
    Removed properties
    public System.Drawing.PointF [] PolygonPoints { get ; } This method is no longer supported. Use ToPolygon() method instead.


    Vintasoft.Imaging.Codecs.Decoders.DecoderBase
    Added events
    public event Vintasoft.Imaging.PropertyChangedEventHandler < int> PageCountChanged Occurs when page count is changed.


    Vintasoft.Imaging.Codecs.Decoders.DocumentLayoutSettings
    Added properties
    public Vintasoft.Imaging.Codecs.Decoders.DocumentEnvironmentProperties EnvironmentProperties { get ; set ; } Get or sets the environment properties of document.
    public bool UseDynamicLayout { get ; set ; } Gets or sets a value indicating whether the document uses dynamic layout.


    Vintasoft.Imaging.Codecs.Encoders.EncoderBase
    Added properties
    public bool IsVectorEncoder { get ; } Gets a value indicating whether the encoder is a vector encoder.
    Added methods
    public object Clone() Creates a new object that is a copy of the current instance.
    public void CopyTo(Vintasoft.Imaging.Codecs.Encoders.EncoderBase) Copies the state of the current encoder to the target encoder.
    public void SetSettings(Vintasoft.Imaging.Codecs.Encoders.EncoderSettings) Sets the encoder settings.


    Vintasoft.Imaging.Codecs.Encoders.TiffEncoderSettings
    Added properties
    public bool RecompressImageData { get ; set ; } Gets or sets a value indicating whether TIFF image data must be recompressed when TIFF image is copied from one TIFF file to another TIFF file.


    Vintasoft.Imaging.Drawing.DrawingEngine
    Added methods
    public System.Drawing.SizeF MeasureText(string, Vintasoft.Imaging.Drawing.IDrawingFont, float, Vintasoft.Imaging.Drawing.TextLayoutProperties) Measures the specified text when drawn with this drawing engine.


    Vintasoft.Imaging.Processing.CompositeTargetProcessingExecutor <TTarget>
    Added properties
    public bool IsMultithreadingEnabled { get ; set ; } Gets or sets a value indicating whether the command must use multithreading.


    Vintasoft.Imaging.Processing.ProcessingHelper
    Changed methods
    public static Vintasoft.Imaging.Processing.ProcessingCommand <System.Collections.Generic.IEnumerable <TTarget>> CompositeTargetProcessing(Vintasoft.Imaging.Processing.IProcessingCommand <TTarget>) public static Vintasoft.Imaging.Processing.CompositeTargetProcessingExecutor <TTarget> CompositeTargetProcessing(Vintasoft.Imaging.Processing.IProcessingCommand <TTarget>)
    public static Vintasoft.Imaging.Processing.ProcessingCommand <System.Collections.Generic.IEnumerable <TTarget>> CompositeTargetProcessing(string, Vintasoft.Imaging.Processing.IProcessingCommand <TTarget>) public static Vintasoft.Imaging.Processing.CompositeTargetProcessingExecutor <TTarget> CompositeTargetProcessing(string, Vintasoft.Imaging.Processing.IProcessingCommand <TTarget>)


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


    Vintasoft.Imaging.Text.TextRegion
    Removed properties
    public string FormattedTextContent { get ; } This property is obsolete, use the TextRegion.Formatter property and the TextRegionMonospaceFormatter class instead.


    Vintasoft.Imaging.Text.Ucd.UnicodeCharacterDatabase
    Added methods
    public static bool HasRightToLeftSymbols(string) Returns a value indicating whether the specified text contains Right to Left symbols.




    API changes in Vintasoft.Imaging.UI.dll

    New classes:

    public class Vintasoft.Imaging.UI.DragSourceManager <T> Allows to manage drag sources for drag-and-drop operation.
    public class Vintasoft.Imaging.UI.ImageViewerImagesManager Manages the asynchronous operations of the image viewer images.
    public class Vintasoft.Imaging.UI.InvalidatingEventArgs Provides event data for Invalidating event args.
    public abstract class Vintasoft.Imaging.UI.TextBoxProvider A base class that provides editable text box functionality.
    public class Vintasoft.Imaging.UI.VintasoftControl Provides a base class for VintaSoft controls.
    public class Vintasoft.Imaging.UI.VintasoftControlEventArgs Provides event data for an event of VintasoftControl .
    public class Vintasoft.Imaging.UI.VintasoftControlKeyEventArgs Provides event data for a keyboard event of VintasoftControl .
    public class Vintasoft.Imaging.UI.VintasoftControlMouseEventArgs Provides event data for a mouse event of VintasoftControl .
    public class Vintasoft.Imaging.UI.VintasoftCursor Provides a base class for VintaSoft cursors.
    public class Vintasoft.Imaging.UI.VintasoftScrollableControl Defines a base class for VintaSoft scrollable controls.
    public abstract class Vintasoft.Imaging.UI.VintasoftSynchronizationProvider Provides a base class of syncronization provider.
    public class Vintasoft.Imaging.UI.WinForms.WinFormsCursor Provides cursor for System.Windows.Forms.
    public class Vintasoft.Imaging.UI.WinForms.WinFormsRichTextBoxProvider Provides System.Windows.Forms.RichTextBox functionality in the form of TextBoxProvider .
    public abstract class Vintasoft.Imaging.UI.WinForms.WinFormsScrollableControl Defines a base class for WinForms VinaSoft controls, which support auto-scrolling behavior.
    public class Vintasoft.Imaging.UI.WinForms.WinFormsSynchronizationProvider Provides the synchronization provider for WinForms control.
    public class Vintasoft.Imaging.UI.WinForms.WinFormsTextBoxProvider Provides System.Windows.Forms.TextBox functionality in the form of TextBoxProvider .


    Changed classes:

    Vintasoft.Imaging.UI.ImageViewer
    Changed methods
    public Vintasoft.Imaging.VintasoftImage [] GetDisplayedImages() public System.Collections.Generic.IList<Vintasoft.Imaging.VintasoftImage> GetDisplayedImages()
    public Vintasoft.Imaging.VintasoftImage GetImageByLocation(System.Drawing.Point) public Vintasoft.Imaging.VintasoftImage GetImageByLocation(System.Drawing.PointF)
    public Vintasoft.Imaging.VintasoftImage [] GetVisibleImages() public System.Collections.Generic.IList<Vintasoft.Imaging.VintasoftImage> GetVisibleImages()


    Vintasoft.Imaging.UI.ThumbnailViewer
    Added properties
    public Vintasoft.Imaging.AnchorType ThumbnailsAnchor { get ; set ; } Gets or sets the anchor of thumbnails.


    New enumerations:

    public enum Vintasoft.Imaging.UI.VintasoftKeys Specifies available key values on a keyboard.




    API changes in Vintasoft.Imaging.Wpf.dll

    Changed classes:

    Vintasoft.Imaging.Wpf.WpfObjectConverter
    Added methods
    public static Vintasoft.Primitives.VintasoftColor Convert(System.Windows.Media.Color) Converts System.Windows.Media.Color to VintasoftColor structure.
    public static System.Windows.Media.Color Convert(Vintasoft.Primitives.VintasoftColor) Converts VintasoftColor to System.Windows.Media.Color structure.




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

    New classes:

    public class Vintasoft.Imaging.Wpf.UI.WpfCursor Provides cursor for WPF.
    public class Vintasoft.Imaging.Wpf.UI.WpfImageViewerImagesManager Manages the asynchronous operations of the WPF image viewer images.
    public class Vintasoft.Imaging.Wpf.UI.WpfScrollableControl Defines a base class for WPF VintaSoft controls, which support auto-scrolling behavior.
    public class Vintasoft.Imaging.Wpf.UI.WpfSynchronizationProvider Provides the syncrionization provider for WPF application.
    public class Vintasoft.Imaging.Wpf.UI.WpfTextBoxProvider Provides System.Windows.Controls.TextBox functionality.
    public class Vintasoft.Imaging.Wpf.UI.UIElements.ButtonImage Represents an image for button.
    public class Vintasoft.Imaging.Wpf.UI.UIElements.PanelButton Represents an UI button with an image. Button can be checked or unchecked.
    public class Vintasoft.Imaging.Wpf.UI.UIElements.PanelButtonWithText Represents an UI button with an image and text. Button can be checked or unchecked.
    public class Vintasoft.Imaging.Wpf.UI.UIElements.PanelMenuItem Represents an UI menu item with an image and text.
    public class Vintasoft.Imaging.Wpf.UI.UIElements.ToolBarButton Represents an UI toolbar button with an image and text.


    Changed classes:

    Vintasoft.Imaging.Wpf.UI.WpfImageViewer
    Changed methods
    public Vintasoft.Imaging.VintasoftImage [] GetDisplayedImages() public System.Collections.Generic.IList<Vintasoft.Imaging.VintasoftImage> GetDisplayedImages()
    public Vintasoft.Imaging.VintasoftImage [] GetVisibleImages() public System.Collections.Generic.IList<Vintasoft.Imaging.VintasoftImage> GetVisibleImages()


    Vintasoft.Imaging.Wpf.UI.WpfThumbnailViewer
    Added fields
    public static System.Windows.DependencyProperty ThumbnailsAnchorProperty Identifies the ThumbnailsAnchor dependency property.
    Added properties
    public Vintasoft.Imaging.AnchorType ThumbnailsAnchor { get ; set ; } Gets or sets the anchor of thumbnails.