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

    API changes in Vintasoft.Imaging.dll

    New classes:

    public class Vintasoft.Imaging. DocumentLayoutSettingsRequestEventArgs Provides data for the LayoutSettingsRequest event.
    public class Vintasoft.Imaging.Codecs.Decoders. DocumentLayoutSettings Provides a document layout settings.
    public class Vintasoft.Imaging.Codecs.Decoders. PageLayoutSettings Provides a page layout settings.
    public class Vintasoft.Imaging.Drawing. GradientStop Describes the location and color of a transition point in a gradient.
    public class Vintasoft.Imaging.Drawing.Gdi. GdiLinearGradientBrush Defines the solid brush, which is based on System.Drawing.Drawing2D.LinearGradientBrush and paints an area with a linear gradient.
    public abstract class Vintasoft.Imaging.Utils. PropertyValueHolder <TObject,TValue> Stores property value and sets stored property value in Vintasoft.Imaging.Utils.PropertyValueHolder.Dispose method.


    Changed classes:

    Vintasoft.Imaging. AffineMatrix
    Added methods
    public static Vintasoft.Imaging. AffineMatrix CreateRotation(double) Creates a matrix, which is rotated relative point (0;0).
    public static Vintasoft.Imaging. AffineMatrix CreateRotation(double, double, double) Creates a matrix, which is rotated relative the specified point.


    Vintasoft.Imaging. ImageCollection
    Added events
    public event System. EventHandler <Vintasoft.Imaging. DocumentLayoutSettingsRequestEventArgs > LayoutSettingsRequest Occurs when document, which is adding to the collection, requests layout settings.


    Vintasoft.Imaging. Thumbnail
    Added methods
    public bool Render(int, int, bool, Vintasoft.Imaging.Utils. IActionProgressController) Renders a thumbnail image with specified size and adds the thumbnail image to the thumbnail cache.


    Vintasoft.Imaging. VintasoftImage
    Added methods
    public void Clear(Vintasoft.Imaging.ImageColors. ColorBase) Clears the image and fills it with the specified color.


    Vintasoft.Imaging.Codecs. Codec
    Added methods
    public Vintasoft.Imaging.Codecs.Decoders. DecoderBase CreateDecoder(System.IO. Stream, Vintasoft.Imaging.Codecs.Decoders. DocumentLayoutSettings) Creates a new decoder instance for decoding specified stream.


    Vintasoft.Imaging.Codecs.Decoders. CompositeRenderingSettings
    Added methods
    public static Vintasoft.Imaging.Codecs.Decoders. T [] FindRenderingSettings(Vintasoft.Imaging.Codecs.Decoders. RenderingSettings) Searches all rendering settings of specified type from specified rendering settings.


    Vintasoft.Imaging.Codecs.Decoders. DecoderBase
    Added methods
    public Vintasoft.Imaging.Codecs.Decoders. DocumentLayoutSettings GetDefaultLayoutSettings() Returns the default layout settings of the document.
    public Vintasoft.Imaging. VintasoftImage GetThumbnail(int, System.Drawing. Size, Vintasoft.Imaging.Codecs.Decoders. DecodingSettings, Vintasoft.Imaging.Codecs.Decoders. RenderingSettings, bool, System. EventHandler <Vintasoft.Imaging. ProgressEventArgs >) Returns a thumbnail image of the specified page of image/document source.
    public Vintasoft.Imaging. VintasoftImage GetThumbnail(int, System.Drawing. Size, Vintasoft.Imaging.Codecs.Decoders. DecodingSettings, Vintasoft.Imaging.Codecs.Decoders. RenderingSettings, bool, Vintasoft.Imaging.Utils. IActionProgressController) Returns a thumbnail image of the specified page of image/document source.


    Vintasoft.Imaging.Codecs.Decoders. RenderingSettings
    Added properties
    public bool DrawSharpImageBorders { get ; set ; } Gets or sets a value indicating whether the SDK must use special algorithm for drawing sharp image borders.


    Vintasoft.Imaging.Drawing. DrawingEngine
    Added methods
    public System. IDisposable CreateClipHolder() Creates a holder of Clip property.
    public System. IDisposable CreateInterpolationModeHolder() Creates a holder of InterpolationMode property.
    public System. IDisposable CreateInterpolationModeHolder(Vintasoft.Imaging. ImageInterpolationMode) Creates a holder of InterpolationMode property.
    public System. IDisposable CreateSmoothingModeHolder() Creates a holder of SmoothingMode property.
    public System. IDisposable CreateSmoothingModeHolder(Vintasoft.Imaging.Drawing. DrawingSmoothingMode) Creates a holder of SmoothingMode property.
    public System. IDisposable CreateTransformHolder() Creates a holder of Transform property.
    public System.Drawing. SizeF MeasureString(long [], Vintasoft.Imaging.Drawing. IDrawingFont) Measures the specified string when drawn with this graphics.
    public System.Drawing. SizeF MeasureString(string, Vintasoft.Imaging.Drawing. IDrawingFont) Measures the specified string when drawn with this graphics.
    Removed methods
    public Vintasoft.Imaging. AffineMatrix GetTransformToPixels() Use the DrawingEngine.Transform property instead.


    Vintasoft.Imaging.Drawing. DrawingToolsFactory
    Added methods
    public Vintasoft.Imaging.Drawing. IDrawingLinearGradientBrush CreateLinearGradientBrush(Vintasoft.Imaging.Drawing. IDrawingLinearGradientBrush) Creates the linear gradient brush and copies properties from specified linear gradient brush to the newly created brush.
    public Vintasoft.Imaging.Drawing. IDrawingLinearGradientBrush CreateLinearGradientBrush(System.Drawing. PointF, System.Drawing. PointF, Vintasoft.Imaging.Drawing. GradientStop []) Creates the linear gradient brush.
    public Vintasoft.Imaging.Drawing. IDrawingLinearGradientBrush CreateLinearGradientBrush(System.Drawing. RectangleF, float, bool, Vintasoft.Imaging.Drawing. GradientStop []) Creates the linear gradient brush.
    public static Vintasoft.Imaging. VintasoftImage RenderImageBrushCell(Vintasoft.Imaging.Drawing. IDrawingImageBrush) Renders complete image brush cell (depends on TileMode property).


    Vintasoft.Imaging.Drawing.Gdi. GdiGraphics
    Added properties
    public Vintasoft.Imaging. VintasoftImage Canvas { get ; } Gets the canvas image.
    public bool DrawSharpImageBorders { get ; set ; } Gets or sets a value indicating whether the SDK must use special algorithm for drawing sharp image borders.
    public Vintasoft.Imaging.Drawing.Gdi. GdiTextRenderingHint TextRenderingHint { get ; set ; } Gets or sets the text rendering hint.


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


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


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


    Vintasoft.Imaging.ImageRendering. ImageRenderer
    Changed methods
    public static Vintasoft.Imaging. VintasoftImage GetThumbnail(Vintasoft.Imaging. VintasoftImage, System.Drawing. Size, Vintasoft.Imaging.Codecs.Decoders. DecodingSettings, System. EventHandler <Vintasoft.Imaging. ProgressEventArgs >) public static Vintasoft.Imaging. VintasoftImage GetThumbnail(Vintasoft.Imaging. VintasoftImage, System.Drawing. Size, Vintasoft.Imaging.Codecs.Decoders. DecodingSettings, Vintasoft.Imaging.Codecs.Decoders. RenderingSettings, System. EventHandler <Vintasoft.Imaging. ProgressEventArgs >)
    public static Vintasoft.Imaging. VintasoftImage GetThumbnail(Vintasoft.Imaging.Codecs.Decoders. DecoderBase, int, System.Drawing. Size, Vintasoft.Imaging.Codecs.Decoders. DecodingSettings, System. EventHandler <Vintasoft.Imaging. ProgressEventArgs >) public static Vintasoft.Imaging. VintasoftImage GetThumbnail(Vintasoft.Imaging.Codecs.Decoders. DecoderBase, int, System.Drawing. Size, Vintasoft.Imaging.Codecs.Decoders. DecodingSettings, Vintasoft.Imaging.Codecs.Decoders. RenderingSettings, System. EventHandler <Vintasoft.Imaging. ProgressEventArgs >)


    Vintasoft.Imaging.ImageRendering. ImageRenderingRequirements
    Added methods
    public static Vintasoft.Imaging.ImageRendering. ImageRenderingRequirements GetThumbnailDefaultRequirements() Returns default requirements for a thumbnail rendering.


    New interfaces:

    public interface Vintasoft.Imaging.Drawing. IDrawingLinearGradientBrush Provides an interface of brush, which paints an area with a linear gradient.


    New enumerations:

    public enum Vintasoft.Imaging.Drawing.Gdi. GdiTextRenderingHint Specifies available qualities of text rendering on GDI graphics.




    API changes in Vintasoft.Imaging.UI.dll

    Changed classes:

    Vintasoft.Imaging.UI. ImageViewerBase
    Added properties
    public Vintasoft.Imaging.ImageRendering. ImageRenderingRequirements RenderingRequirements { get ; set ; } Gets or sets the image rendering requirements for the viewer.




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

    Changed classes:

    Vintasoft.Imaging.Wpf.UI. WpfImageViewer
    Moved properties
    public Vintasoft.Imaging.ImageRendering. ImageRenderingRequirements RenderingRequirements { get ; set ; } Property moved to the base class Vintasoft.Imaging.UI.ImageViewerBase.
    Renamed methods
    public void ChangeZoomReleativeFocusedImage(double, System.Windows. Point) public void ChangeZoomRelativeFocusedImage(double, System.Windows. Point)


    Vintasoft.Imaging.Wpf.UI. WpfImageViewerBase
    Added properties
    public Vintasoft.Imaging.ImageRendering. ImageRenderingRequirements RenderingRequirements { get ; set ; } Gets or sets the image rendering requirements for the viewer.


    Vintasoft.Imaging.Wpf.UI. WpfThumbnailViewer
    Added methods
    public Vintasoft.Imaging.Wpf.UI. ThumbnailImageItem GetThumbnailByLocation(System.Windows. Point) Returns the thumbnail by location.