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

    API changes in Vintasoft.Imaging.dll

    New classes:

    public class Vintasoft.Imaging.Fonts.CompositeFontProgramsController A font programs controller, which combines behaviour of several font programs controllers.
    public class Vintasoft.Imaging.Text.TextSourceInfo Stores information about source of a text.


    Changed classes:

    Vintasoft.Imaging.ImageSize
    Added methods
    public static Vintasoft.Imaging.ImageSize FromDeviceIndependedPixels(float, float) Creates the new ImageSize from specified DIP-size.


    Vintasoft.Imaging.RegionF
    Added constructors
    public void RegionF(System.Drawing.RectangleF, Vintasoft.Imaging.AffineMatrix) Initializes a new instance of the RegionF class.


    Vintasoft.Imaging.VintasoftImage
    Added constructors
    public void VintasoftImage(Vintasoft.Imaging.Codecs.Decoders.DecoderBase, int) Initializes a new instance of the VintasoftImage class.


    Vintasoft.Imaging.Codecs.Decoders.DocumentLayoutSettings
    Added properties
    public bool InterruptLayoutOnLastPage { get ; set ; } Gets or sets a value indicating whether the layout engine interrupts the layout process on last page.
    public bool IsVintasoftLayoutEngineCompatible { get ; set ; } Gets or sets a value indicating whether the layout engine uses layout settings that is compatible with VintaSoft layout engine.
    public int PageCount { get ; set ; } Gets or sets the count of pages, which should be layouted.
    public bool UseGraphicObjectReleativeSize { get ; set ; } Gets or sets a value indicating whether the layout engine uses relative size instead of specified size of graphics object.


    Vintasoft.Imaging.Drawing.DrawingEngine
    Added methods
    public void EnterSourceInfo(Vintasoft.Imaging.Text.TextSourceInfo) Enters the source information.
    public void LeaveSourceInfo() Leaves the source information.


    Vintasoft.Imaging.Drawing.Gdi.GdiFont
    Added methods
    public bool CanUseSymbol(char) Returns a value indicating whether symbol can be used for text editing.


    Vintasoft.Imaging.Drawing.Gdi.GdiGraphicsPath
    Added methods
    public static Vintasoft.Imaging.Drawing.GraphicsPathData CreateGraphicsPathData(System.Drawing.Drawing2D.GraphicsPath) Creates the graphics path data form specified path.
    public void Flatten() Converts each curve in this path into a sequence of connected line segments.
    public void Flatten(Vintasoft.Imaging.AffineMatrix) Applies the specified transform and converts each curve in this path into a sequence of connected line segments.
    public void Flatten(Vintasoft.Imaging.AffineMatrix, float) Converts each curve in this path into a sequence of connected line segments.


    Vintasoft.Imaging.Fonts.FontProgramsControllerBase
    Added methods
    public System.Collections.Generic.ICollection < string> GetAvailableFontNames() Returns names of available fonts.


    Vintasoft.Imaging.Fonts.FontProgramSearchResult
    Added properties
    public bool ContainsFontProgram { get ; } Gets a value indicating whether this search result contains font program.
    Added constructors
    protected void FontProgramSearchResult(Vintasoft.Imaging.Fonts.FontInfo, string) Initializes a new instance of the FontProgramSearchResult class.
    Added methods
    public Vintasoft.Imaging.Drawing.IDrawingFont CreateFont(float) Creates the font object.


    Vintasoft.Imaging.Text.TextRegion
    Added properties
    public bool AllowMultilineWords { get ; set ; } Gets or sets a value indicating whether text region can contain multiline words.
    public Vintasoft.Imaging.Text.TextRegionSymbol Item { get ; } Gets the TextRegionSymbol at the specified index.
    public bool PreserveSymbols { get ; set ; } Gets or sets a value indicating whether text region formatter cannot change symbols in this text region.
    Changed properties
    public Vintasoft.Imaging.AffineMatrix TrasformFromDipSpace { get ; } public Vintasoft.Imaging.AffineMatrix TrasformFromDipSpace { get ; set ; }
    Added constructors
    public void TextRegion(Vintasoft.Imaging.Text.TextRegion, int, int) Initializes a new instance of the TextRegion class, which includes only necessary symbols from specified region.
    Added methods
    public bool Contains(Vintasoft.Imaging.Text.TextRegionSymbol) Determines whether this text region contains specified text symbol.
    public float GetFontSizeInPoints(Vintasoft.Imaging.Text.TextRegionSymbol) Returns the font size, in points, of specified symbol.
    public float GetSpaceWidth(Vintasoft.Imaging.Text.TextRegionSymbol) Gets the width of the space for specified text region symbol.
    public int [] GetSymbolIndexes(Vintasoft.Imaging.Text.TextRegionSymbol []) Returns an array that contains indices of specified symbols.


    Vintasoft.Imaging.Text.TextRegionBuilder
    Changed constructors
    public void TextRegionBuilder(Vintasoft.Imaging.Resolution, System.Drawing.RectangleF, Vintasoft.Imaging.AffineMatrix) public void TextRegionBuilder(Vintasoft.Imaging.Resolution, System.Drawing.RectangleF, System.Drawing.RectangleF, Vintasoft.Imaging.AffineMatrix)


    Vintasoft.Imaging.Text.TextRegionSymbol
    Added properties
    public Vintasoft.Imaging.Text.TextSourceInfo SourceInfo { get ; } Gets information about text source, which is associated with this text region symbol.
    public Vintasoft.Imaging.Text.TextSymbolType SymbolType { get ; } Gets the type of the text symbol.


    Vintasoft.Imaging.Undo.UndoAction
    Added properties
    protected System.ICloneable CurrentState { get ; } Gets the current state.


    Vintasoft.Imaging.Undo.UndoManager
    Added properties
    public Vintasoft.Imaging.Undo.UndoAction PreviousAction { get ; } Gets the previous action.
    Added constructors
    public void UndoManager(int) Initializes a new instance of the UndoManager class.
    Added methods
    public System.Collections.Generic.List<Vintasoft.Imaging.Undo.UndoAction> GetUndoActions() Gets the undo actions.
    public System.Collections.Generic.List<Vintasoft.Imaging.Undo.UndoAction> GetUndoActions(int) Gets the undo actions.
    public void Redo() Redos the changes in object(s).
    public void Undo() Undoes the changes in object(s).


    Vintasoft.Imaging.Utils.MasterCollection <T>
    Added methods
    protected void OnChanged(Vintasoft.Imaging.CollectionChangeEventArgs <T>) Raises the MasterCollection.Changed event.
    protected void OnChanging(Vintasoft.Imaging.CollectionChangeEventArgs <T>) Raises the MasterCollection.Changing event.
    Added events
    public event Vintasoft.Imaging.CollectionChangeEventHandler <T> Changed Occurs when collection is changed.
    public event Vintasoft.Imaging.CollectionChangeEventHandler <T> Changing Occurs when collection is changing.


    Changed interfaces:

    Vintasoft.Imaging.Drawing.IDrawingFont
    Added methods
    public bool CanUseSymbol(char) Returns a value indicating whether symbol can be used.


    Vintasoft.Imaging.Drawing.IGraphicsPath
    Added methods
    public void Flatten() Converts each curve in this path into a sequence of connected line segments.
    public void Flatten(Vintasoft.Imaging.AffineMatrix) Applies the specified transform and converts each curve in this path into a sequence of connected line segments.
    public void Flatten(Vintasoft.Imaging.AffineMatrix, float) Converts each curve in this path into a sequence of connected line segments.


    New enumerations:

    public enum Vintasoft.Imaging.Text.TextNavigationMode Specifies available text navigation modes.
    public enum Vintasoft.Imaging.Text.TextSymbolType Specifies available types of text symbols.


    Changed enumerations:

    Vintasoft.Imaging.Codecs.ImageFiles.Tiff.ExtraSamples
    Added fields
    public static Vintasoft.Imaging.Codecs.ImageFiles.Tiff.ExtraSamples Undefined Information about extra samples in not defined in TIFF file.




    API changes in Vintasoft.Imaging.UI.dll

    New classes:

    public abstract class Vintasoft.Imaging.UI.VisualTools.UserInteraction.InteractionControllerBase Provides a base class for interaction controllers.
    public class Vintasoft.Imaging.UI.VisualTools.UserInteraction.ObjectBoundingBoxInteractionHandler <T> An interaction controller that handles interaction of object's bounding box area.


    Changed classes:

    Vintasoft.Imaging.UI.ImageViewer
    Added methods
    public Vintasoft.Imaging.AffineMatrix GetTransformFromControlToDip(Vintasoft.Imaging.VintasoftImage) Returns AffineMatrix transformation from the viewer coordinate space to the DIP coordinate space of focused image.
    public Vintasoft.Imaging.AffineMatrix GetTransformFromDipToControl(Vintasoft.Imaging.VintasoftImage) Returns AffineMatrix transformation from the device-independent pixels (1/96th inch) of specified image to the viewer coordinate space.


    Vintasoft.Imaging.UI.ImageViewerDrawingSurface
    Added properties
    public bool IsVisualToolVisible { get ; set ; } Gets or sets a value indicating whether the drawing surface shows visual tools on image viewer.


    Vintasoft.Imaging.UI.VisualTools.TextSelectionTool
    Added properties
    public bool IsInteractionBoundedUsingTextRectangle { get ; set ; } Gets or sets a value indicating whether the visual tool bounds the interaction using text rectangle.
    protected bool IsTextCaretBlendingWithVisualToolsContent { get ; set ; } Gets or sets a value indicating whether the visual tool takes into account content of other visual tools when draw text caret with color blending.
    protected bool IsTextRegionOverridden { get ; set ; } Gets or sets a value indicating whether text region is overridden.
    public Vintasoft.Imaging.Text.TextNavigationMode NavigationMode { get ; set ; } Gets or sets the text navigation mode.
    Added methods
    public void OverrideTextRegion(Vintasoft.Imaging.VintasoftImage, Vintasoft.Imaging.Text.TextRegion) Overrides the text region for specified image.
    public void SetFocusedTextSymbol(Vintasoft.Imaging.Text.TextRegionSymbol, bool, bool) Sets the focused text symbol.


    Vintasoft.Imaging.UI.VisualTools.UserInteraction.InteractionEventArgs
    Added properties
    public Vintasoft.Imaging.UI.VisualTools.UserInteraction.IInteractionController InteractionController { get ; } Gets the interaction controller.
    public Vintasoft.Imaging.UI.VisualTools.UserInteraction.IInteractiveObject IntercativeObject { get ; } Gets the interacive object.


    Vintasoft.Imaging.UI.VisualTools.UserInteraction.PointBasedObjectRectangularTransformer
    Added properties
    public float MoveMinLength { get ; set ; } Gets or sets minimum distance, in pixels (between interaction starting point and current point), which is necessary for starting of object moving.
    public float RotationAngle { get ; set ; } Gets or sets the rotation angle, in degrees.


    Vintasoft.Imaging.UI.VisualTools.UserInteraction.UserInteractionVisualTool
    Added properties
    public Vintasoft.Imaging.Utils.IObjectClipboard Clipboard { get ; set ; } Gets or sets the clipboard of this tool.
    Added methods
    protected bool CanSelectNextItem(Vintasoft.Imaging.UI.VisualTools.UserInteraction.IInteractiveObject) Returns a value indicating whether next item can be selected.
    public static Vintasoft.Imaging.UI.VisualTools.UserInteraction.IInteractionController GetActiveInteractionController(Vintasoft.Imaging.UI.VisualTools.VisualTool) Returns the active interaction controller of specified visual tool.
    public static T GetActiveInteractionController<T>(Vintasoft.Imaging.UI.VisualTools.VisualTool) Returns the active interaction controller of specified visual tool.
    public System.Collections.Generic.IList<Vintasoft.Imaging.UIActions.UIAction> GetSupportedUIActions() Returns the supported UI actions.


    Vintasoft.Imaging.UIActions.UIAction
    Added methods
    public static T GetFirstUIAction<T>(Vintasoft.Imaging.UIActions.ISupportUIActions) Returns the first UI action from specified action source.




    API changes in Vintasoft.Imaging.Wpf.dll

    New classes:

    public class Vintasoft.Imaging.Wpf.WpfDrawingSurface Provides the base class that contains information about a drawing surface.
    public class Vintasoft.Imaging.Wpf.WpfEmptyDrawingSurface Represents an empty drawing surface.
    public class Vintasoft.Imaging.Wpf.WpfImageDrawingSurface Represents a surface for drawing on VintasoftImage.


    Changed classes:

    Vintasoft.Imaging.Wpf.VintasoftImageRenderer
    Added methods
    public static void Draw(Vintasoft.Imaging.VintasoftImage, System.Windows.Media.DrawingContext, Vintasoft.Imaging.Wpf.WpfDrawingSurface, Vintasoft.Imaging.AffineMatrix, System.Windows.Rect, System.Windows.Rect) Draws the image on specified drawing context.




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

    New classes:

    public abstract class Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfInteractionControllerBase Provides a base class for interaction controllers.
    public class Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfObjectBoundingBoxInteractionHandler <T> An interaction controller that handles interaction of object bounding box area.


    Moved classes:

    public class Vintasoft.Imaging.Wpf.UI.WpfDrawingSurface Moved to Vintasoft.Imaging.Wpf.dll assembly.
    public class Vintasoft.Imaging.Wpf.UI.WpfEmptyDrawingSurface Moved to Vintasoft.Imaging.Wpf.dll assembly.
    public class Vintasoft.Imaging.Wpf.UI.WpfImageDrawingSurface Moved to Vintasoft.Imaging.Wpf.dll assembly.


    Changed classes:

    Vintasoft.Imaging.Wpf.Print.WpfImageTilePrintEventArgs
    Changed properties
    public Vintasoft.Imaging.Wpf.UI.WpfDrawingSurface DrawingSurface { get ; } public Vintasoft.Imaging.Wpf.WpfDrawingSurface DrawingSurface { get ; }


    Vintasoft.Imaging.Wpf.UI.WpfImageViewer
    Added methods
    public Vintasoft.Imaging.VintasoftImage RenderViewerImage(System.Windows.Rect) Renders an image of this viewer.


    Vintasoft.Imaging.Wpf.UI.WpfImageViewerDrawingSurface
    Added properties
    public bool IsVisualToolVisible { get ; set ; } Gets or sets a value indicating whether the drawing surface shows visual tools on image viewer.


    Vintasoft.Imaging.Wpf.UI.VisualTools.WpfTextSelectionTool
    Added properties
    public bool IsInteractionBoundedUsingTextRectangle { get ; set ; } Gets or sets a value indicating whether the visual tool bounds the interaction using text rectangle.
    protected bool IsTextCaretBlendingWithVisualToolsContent { get ; set ; } Gets or sets a value indicating whether the visual tool takes into account content of other visual tools when draw text caret with color blending.
    protected bool IsTextRegionOverridden { get ; set ; } Gets or sets a value indicating whether text region is overridden.
    public Vintasoft.Imaging.Text.TextNavigationMode NavigationMode { get ; set ; } Gets or sets the text navigation mode.
    Added methods
    public void OverrideTextRegion(Vintasoft.Imaging.VintasoftImage, Vintasoft.Imaging.Text.TextRegion) Overrides the text region for specified image.
    public void SetFocusedTextSymbol(Vintasoft.Imaging.Text.TextRegionSymbol, bool, bool) Sets the focused text symbol.


    Vintasoft.Imaging.Wpf.UI.VisualTools.WpfVisualTool
    Added methods
    public void Invalidate() Invalidates this tool.


    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfInteractionEventArgs
    Added properties
    public Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractionController InteractionController { get ; } Gets the interaction controller.
    public Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractiveObject IntercativeObject { get ; } Gets the interacive object.


    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfPointBasedObjectRectangularTransformer
    Added properties
    public double MoveMinLength { get ; set ; } Gets or sets minimum distance, in pixels (between interaction starting point and current point), which is necessary for starting of object moving.
    public double RotationAngle { get ; set ; } Gets or sets the rotation angle, in degrees.


    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.WpfUserInteractionVisualTool
    Added properties
    public Vintasoft.Imaging.Utils.IObjectClipboard Clipboard { get ; set ; } Gets or sets the clipboard of this tool.
    Added methods
    protected bool CanSelectNextItem(Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractiveObject) Returns a value indicating whether next item can be selected.
    public static T GetActiveInteractionController<T>(Vintasoft.Imaging.Wpf.UI.VisualTools.WpfVisualTool) Returns the active interaction controller of specified visual tool.
    public static Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractionController GetActiveInteractionController(Vintasoft.Imaging.Wpf.UI.VisualTools.WpfVisualTool) Returns the active interaction controller of specified visual tool.


    Changed interfaces:

    Vintasoft.Imaging.Wpf.UI.VisualTools.UserInteraction.IWpfInteractionController
    Added properties
    public bool IsEnabled { get ; set ; } Gets or sets a value indicating whether interaction controller is enabled.