VintaSoft Imaging .NET SDK 12.4: Documentation for .NET developer
In This Topic
    VintaSoft Imaging .NET SDK: Changes in version 9.0
    In This Topic

    API changes in Vintasoft.Imaging.dll

    New classes:

    public class Vintasoft.Imaging.RegionF Represents a region based on four points.
    public class Vintasoft.Imaging.Codecs.Decoders.CompositeRenderingSettings Provides a base class for rendering settings that contains a group of rendering settings.
    public class Vintasoft.Imaging.Drawing.Gdi.GdiFont Defines the font, which is based on System.Drawing.Font.
    public class Vintasoft.Imaging.ImageProcessing.OverlayBinaryCommand Overlays image on a top of the another image using one of the OverlayBinaryOperationType.
    public class Vintasoft.Imaging.ImageProcessing.RenderImageCommand Draws image on a drawing engine.
    public abstract class Vintasoft.Imaging.Metadata.GotoActionMetadata Provides the base class for metadata of navigation action.
    public abstract class Vintasoft.Imaging.Metadata.LaunchActionMetadata Provides the base class for metadata of page content launch action.
    public abstract class Vintasoft.Imaging.Metadata.NamedActionMetadata Provides the base class for metadata of page content named action.
    public abstract class Vintasoft.Imaging.Metadata.PageContentActionMetadata Provides the base class for metadata of page content action.
    public abstract class Vintasoft.Imaging.Metadata.PageContentMetadata Provides the base class for metadata of page content.
    public abstract class Vintasoft.Imaging.Metadata.TextRegionMetadata Provides the base class for metadata of text region.
    public abstract class Vintasoft.Imaging.Metadata.UriActionMetadata Provides the base class for metadata of page content URI action.
    public class Vintasoft.Imaging.Text.TextRegion Provides information about the text content that extracted from a page of document.
    public class Vintasoft.Imaging.Text.TextRegionBuilder Provides the builder of text region based on drawing engine.
    public abstract class Vintasoft.Imaging.Text.TextRegionFormatter Provides the abstract base class for formatting text that is extracted from a document.
    public class Vintasoft.Imaging.Text.TextRegionLine Provides information about line of TextRegionSymbol.
    public class Vintasoft.Imaging.Text.TextRegionLinesFormatter A text formatter that provides text, which is extracted from a document, as text separated by lines.
    public class Vintasoft.Imaging.Text.TextRegionMonospaceFormatter A text formatter that provides a text, which is extracted from a document, as text written with monospace font.
    public class Vintasoft.Imaging.Text.TextRegionParagraphFormatter A text formatter that provides a text, which is extracted from a document, as text separated by paragraphs.
    public class Vintasoft.Imaging.Text.TextRegionRawFormatter A text formatter that provides text content, which is extracted from page content, "as is".
    public class Vintasoft.Imaging.Text.TextRegionSymbol Provides information about text symbol of TextRegion.
    public class Vintasoft.Imaging.Text.TextSearchedEventArgs Provides data for a TextSearched event.
    public abstract class Vintasoft.Imaging.Text.TextSearchEngine Represents an abstract base class that defines a text search algorithm.
    public class Vintasoft.Imaging.Text.TextSearchingProgressEventArgs Provides data for a TextSearchingProgress event.
    public class Vintasoft.Imaging.Text.TextSearchResult Stores results of text search.
    public class Vintasoft.Imaging.Text.TextSymbol Provides information about text symbol.
    public class Vintasoft.Imaging.UI.TextSelectionTool A visual tool that allows to select and search text on PDF or DOCX page in image viewer.
    public class Vintasoft.Imaging.UI.VisualTools.DocumentNavigationTool A visual tool that allows to display and execute actions (links, navigation, ...) of image in image viewer.
    public class Vintasoft.Imaging.UI.VisualTools.NavigationActionExecutor Represents the action executor that executes navigation actions.
    public class Vintasoft.Imaging.UI.VisualTools.PageContentActionCompositeExecutor Represents the composite executor of metadata action.


    Removed classes:

    public class Vintasoft.Imaging.VintasoftImageData This class is no longer supported.


    Changed classes:

    Vintasoft.Imaging.AffineMatrix
    Added methods
    public static Vintasoft.Imaging.AffineMatrix CreateScaling(double) Creates scaled matrix.


    Vintasoft.Imaging.ImageCollection
    Added methods
    public int GetImageIndex(Vintasoft.Imaging.Codecs.Decoders.DecoderBase, int) Returns the image page index in image collection that corresponds the image page index in decoder.


    Vintasoft.Imaging.VintasoftImageMetadata
    Added properties
    public Vintasoft.Imaging.Text.TextRegion TextRegion { get; } Gets the text region stored in metadata.


    Vintasoft.Imaging.Codecs.Decoders.DecoderBase
    Added methods
    public Vintasoft.Imaging.Codecs.Decoders.RenderingSettings GetDefaultRenderingSettings(int) Returns the default rendering settings of the specified page.


    Vintasoft.Imaging.Codecs.Decoders.RenderingSettings
    Added constructors
    public void RenderingSettings() Initializes a new instance of the RenderingSettings class.
    Added methods
    public void CopyTo(Vintasoft.Imaging.Codecs.Decoders.RenderingSettings) Copies the state of the current object to the target object.


    Vintasoft.Imaging.Drawing.DrawingEngine
    Added properties
    public float CharacterSpacing { get; set; } Gets or sets the character spacing, in world space.
    public bool IsVector { get; } Gets a value indicating whether this drawing engine draws on vector drawing surface.
    public Vintasoft.Imaging.Resolution Resolution { get; } Gets the resolution of this drawing engine.
    Added methods
    public void CombineClip(Vintasoft.Imaging.Drawing.IGraphicsPath, Vintasoft.Imaging.Drawing.RegionCombineMode) Combines current clip with the specified path.
    public void CombineClip(Vintasoft.Imaging.Drawing.IRegion, Vintasoft.Imaging.Drawing.RegionCombineMode) Combines current clip with the specified path.
    public void CombineClip(System.Drawing.RectangleF, Vintasoft.Imaging.Drawing.RegionCombineMode) Combines current clip with the specified rectangle.
    public void DrawString(long[], Vintasoft.Imaging.Drawing.IDrawingFont, Vintasoft.Imaging.Drawing.IDrawingBrush, System.Drawing.PointF) Draws the specified text string at the specified location using the specified IDrawingBrush and IDrawingFont objects.
    public void DrawString(string, Vintasoft.Imaging.Drawing.IDrawingFont, Vintasoft.Imaging.Drawing.IDrawingBrush, System.Drawing.PointF) Draws the specified unicode string at the specified location using the specified IDrawingBrush and IDrawingFont objects.
    public Vintasoft.Imaging.AffineMatrix GetTransformToPixels() Returns the affine matrix that transforms current space to the pixels space.
    public void MultiplyTransformPrepend(Vintasoft.Imaging.AffineMatrix) Multiplies specified the AffineMatrix and the world transformation of this drawing engine.
    public void RestoreClip() Restores current clip region from the clip stack.
    public void RestoreTransform() Restores current transform from the transform stack.
    public void SaveClip() Saves current clip region to the clip stack.
    public void SaveTransform() Saves current transform to the transform stack.
    Removed methods
    public object GetCanvasData() This method is no longer supported.


    Vintasoft.Imaging.Drawing.DrawingToolsFactory
    Added methods
    public static Vintasoft.Imaging.Drawing.DrawingToolsFactory Create(Vintasoft.Imaging.Drawing.DrawingEngine) Creates drawing tools factory based on specified drawing engine.
    public Vintasoft.Imaging.Drawing.IDrawingFont CreateFont(System.IO.Stream, float) Creates the font, which is based on font program.
    public Vintasoft.Imaging.Drawing.IDrawingFont CreateFont(string, float, bool, bool) Creates the font by name.
    Changed methods
    public Vintasoft.Imaging.Drawing.DrawingEngine CreateDrawingEngine(int, int, Vintasoft.Imaging.PixelFormat, Vintasoft.Imaging.Resolution) public Vintasoft.Imaging.Drawing.DrawingEngine CreateDrawingEngine(int, int, Vintasoft.Imaging.PixelFormat, Vintasoft.Imaging.Resolution, bool)


    Vintasoft.Imaging.Drawing.Gdi.GdiRegion
    Added methods
    public System.Drawing.RectangleF[] GetRegionScans() Returns an array of System.Drawing.RectangleF structures that approximate this region.


    Vintasoft.Imaging.Drawing.Gdi.GdiSolidBrush
    Added constructors
    public void GdiSolidBrush(Vintasoft.Imaging.ImageColors.ColorBase) Initializes a new instance of the GdiSolidBrush class.


    Vintasoft.Imaging.Drawing.Gdi.GdiToolsFactory
    Added constructors
    public void GdiToolsFactory(Vintasoft.Imaging.Drawing.Gdi.GdiGraphics) Initializes a new instance of the Vintasoft.Imaging.Drawing.Gdi.GdiToolsFactory class.


    Vintasoft.Imaging.Metadata.MetadataTreeHelper
    Added properties
    public Vintasoft.Imaging.Text.TextRegion TextRegion { get; } Gets the text region if metadata tree contains TextRegionMetadata node.


    Vintasoft.Imaging.Print.ImagePrintDocument
    Added properties
    public bool UseVectorRendering { get; set; } Gets or sets a value indicating whether vector rendering must be used for printing of PDF and DOCX pages.
    Added methods
    protected bool NeedsVectorPrinting(Vintasoft.Imaging.VintasoftImage) Returns a value indicating whether the specified image must be printed in vector mode.


    Vintasoft.Imaging.UI.VisualTools.UserInteraction.CompositeInteractionController
    Added methods
    public static TInteractionController FindInteractionController<TInteractionController>(Vintasoft.Imaging.UI.VisualTools.UserInteraction.IInteractionController) Finds an interaction controller with specified type in specified interaction controller.


    Vintasoft.Imaging.UI.VisualTools.UserInteraction.UserInteractionVisualTool
    Added methods
    public bool FinishActiveInteraction() Finishes an active interaction with interaction area of interactive object.


    Vintasoft.Imaging.Utils.UnitOfMeasureConverter
    Added methods
    public static Vintasoft.Imaging.AffineMatrix GetTransform(Vintasoft.Imaging.UnitOfMeasure, Vintasoft.Imaging.UnitOfMeasure) Returns the transform matrix from source unit of measure with 96 DPI resolution to the specified unit of measure with 96 DPI resolution.
    public static Vintasoft.Imaging.AffineMatrix GetTransform(Vintasoft.Imaging.UnitOfMeasure, Vintasoft.Imaging.Resolution, Vintasoft.Imaging.UnitOfMeasure) Returns the transform matrix from source unit of measure with specified resolution to the specified unit of measure with 96 DPI resolution.
    public static Vintasoft.Imaging.AffineMatrix GetTransform(Vintasoft.Imaging.UnitOfMeasure, Vintasoft.Imaging.UnitOfMeasure, Vintasoft.Imaging.Resolution) Returns the transform matrix from source unit of measure with 96 DPI resolution to the specified unit of measure with specified resolution.
    public static Vintasoft.Imaging.AffineMatrix GetTransform(Vintasoft.Imaging.UnitOfMeasure, Vintasoft.Imaging.Resolution, Vintasoft.Imaging.UnitOfMeasure, Vintasoft.Imaging.Resolution) Returns the transform matrix from source unit of measure with specified resolution to the specified unit of measure with specified resolution.
    public static Vintasoft.Imaging.AffineMatrix GetTransformFromDip(Vintasoft.Imaging.UnitOfMeasure) Returns the transform matrix from device independent pixels (1/96 inch) to the specified unit of measure in 96 DPI.
    public static Vintasoft.Imaging.AffineMatrix GetTransformFromDip(Vintasoft.Imaging.UnitOfMeasure, Vintasoft.Imaging.Resolution) Returns the transform matrix from device independent pixels (1/96 inch) to the specified unit of measure.
    public static Vintasoft.Imaging.AffineMatrix GetTransformToDip(Vintasoft.Imaging.UnitOfMeasure) Returns the transform matrix from specified unit of measure in 96 DPI to the device independent pixels (1/96 inch).
    public static Vintasoft.Imaging.AffineMatrix GetTransformToDip(Vintasoft.Imaging.UnitOfMeasure, Vintasoft.Imaging.Resolution) Returns the transform matrix from specified unit of measure to the device independent pixels (1/96 inch).
    Renamed methods
    public static double ConvertToPdfUserUnits(double, Vintasoft.Imaging.UnitOfMeasure) public static double ConvertToPoints(double, Vintasoft.Imaging.UnitOfMeasure)
    public static double ConvertToPdfUserUnits(double, Vintasoft.Imaging.UnitOfMeasure, double) public static double ConvertToPoints(double, Vintasoft.Imaging.UnitOfMeasure, double)


    New interfaces:

    public interface Vintasoft.Imaging.Text.ITextFont Provides an interface of a text font.
    public interface Vintasoft.Imaging.UI.VisualTools.IPageContentActionExecutor Provides an interface of page content action executor.
    public interface Vintasoft.Imaging.Drawing.IDrawingFont Provides an interface of text font.


    Changed interfaces:

    Vintasoft.Imaging.Drawing.IRegion
    Added methods
    public System.Drawing.RectangleF[] GetRegionScans() Returns an array of System.Drawing.RectangleF structures that approximate this region.


    New enumerations:

    public enum Vintasoft.Imaging.Text.TextRenderingMode Specifies available text rendering modes.
    public enum Vintasoft.Imaging.Text.TextSelectionMode Specifies available text selection modes.
    public enum Vintasoft.Imaging.ImageProcessing.OverlayBinaryOperationType Defines available overlay binary operation types.
    public enum Vintasoft.Imaging.UI.TextSearchMode Specifies available modes of text search.
    public enum Vintasoft.Imaging.UI.TextSelectionToolAction Specifies available navigation actions for TextSelectionTool.


    Changed enumerations:

    Vintasoft.Imaging.UnitOfMeasure
    Renamed fields
    public static Vintasoft.Imaging.UnitOfMeasure PdfUserUnits public static Vintasoft.Imaging.UnitOfMeasure Points


    Vintasoft.Imaging.Codecs.Encoders.PdfDocumentUpdateMode
    Added fields
    public static Vintasoft.Imaging.Codecs.Encoders.PdfDocumentUpdateMode SubsetFontsAndPack Subset embedded fonts and pack the PDF document.


    New delegates:

    public delegate Vintasoft.Imaging.Text.TextRegionLineSymbolPredicate Represents the method that defines a set of criteria and determines whether the specified parameters meet those criteria.




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

    New classes:

    public class Vintasoft.Imaging.Wpf.UI.WpfTextSelectionTool A visual tool that allows to select and search text on PDF or DOCX page in image viewer.
    public class Vintasoft.Imaging.Wpf.UI.VisualTools.WpfDocumentNavigationTool A visual tool that allows to display and execute actions (links, navigation, ...) of image in image viewer.
    public class Vintasoft.Imaging.Wpf.UI.VisualTools.WpfNavigationActionExecutor Provides the action executor that executes navigation actions.
    public class Vintasoft.Imaging.Wpf.UI.VisualTools.WpfPageContentActionCompositeExecutor Represents the composite executor of metadata action.


    Changed classes:

    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfCompositeInteractionController
    Added methods
    public static TInteractionController FindInteractionController<TInteractionController>(Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractionController) Finds an interaction controller with specified type in specified interaction controller.


    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfUserInteractionVisualTool
    Added methods
    public bool FinishActiveInteraction() Finishes an active interaction with interaction area of interactive object.


    New interfaces:

    public interface Vintasoft.Imaging.Wpf.UI.VisualTools.IWpfPageContentActionExecutor Provides an interface of page content action executor.


    New enumerations:

    public enum Vintasoft.Imaging.Wpf.UI.TextSearchMode Specifies available modes of text search.