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

New assembly Vintasoft.Imaging.EmailCodec.dll

Vintasoft.Imaging.EmailCodec.dll - contains classes, which allow to decode and render Email (EML, MSG) files.


API changes in Vintasoft.Imaging.dll

New classes:

public class Vintasoft.Imaging.ExternalResourceStreamEventArgs Provides data for CreatingResourceStream event.
public class Vintasoft.Imaging.ExternalResourceVerifyAccessEventArgs Provides data for CreatingResourceStream event.
public class Vintasoft.Imaging.ImageCollectionLayoutSettingsManager Allows to manage the document layout settings of the image collection.
public class Vintasoft.Imaging.ImagingExternalResourceManager Provides a resource manager of VintaSoft Imaging .NET SDK that is used to resolve the external [System.Uri] references.
public abstract class Vintasoft.Imaging.Codecs.Decoders.DecoderWrapper Provides a wrapper for an image decoder.
public class Vintasoft.Imaging.Codecs.Decoders.HtmlDecoder Defines a decoder for HTML documents.
public class Vintasoft.Imaging.Codecs.Decoders.HtmlLayoutSettings Provides the HTML layout settings.
public abstract class Vintasoft.Imaging.Codecs.Decoders.VectorDecoderWrapper Provides a wrapper for a vector image decoder.
public class Vintasoft.Imaging.Codecs.Decoders.XlsxConverterSettings Provides settings for XLSX converter.
public class Vintasoft.Imaging.ImageProcessing.Info.TableDetection.TableDetectionCommandResult Stores result of execution of a Table Detection Command.
public class Vintasoft.Imaging.ImageProcessing.Info.TableDetection.TableImage Contains information about table image on a document image.
public class Vintasoft.Imaging.ImageProcessing.Info.TableDetection.TableImageCell Contains information about cell of table image on a document image.
public class Vintasoft.Imaging.ImageProcessing.Info.TableDetection.TableImageRow Contains information about row of table image on a document image.
public class Vintasoft.Imaging.Metadata.HtmlPageMetadata Represents a root tree node that stores metadata of HTML page.
public class Vintasoft.Imaging.Metadata.HtmlResourceActionMetadata Provides the base class for metadata of HTML page content resource action.
public abstract class Vintasoft.Imaging.Metadata.ResourceActionMetadata Provides the base class for metadata of resource action.
public class Vintasoft.Imaging.Metadata.VmfPageMetadata Represents a root tree node that stores metadata of VMF page.
public class Vintasoft.Imaging.Metadata.VmfPageTextRegionMetadata Represents a metadata node that stores text region of VMF page.
public class Vintasoft.Imaging.Metadata.VmfUriActionMetadata Represents a root tree node that stores hyperlink metadata of VMF page.


Changed classes:

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


Vintasoft.Imaging.HtmlDocumentSource
Added properties
public string ResourcesDirectoryName { get; set; } Gets or sets the directory name that contais local resources (to resolve non-absolute URI).
public System.Collections.Generic.Dictionary<System.Uri,System.IO.Stream> UriStreams { get; } Gets the dictionary that contains information about streams, which contain data of external resources of document.
Added constructors
public void HtmlDocumentSource(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext) Initializes a new instance of the HtmlDocumentSource structure.
Added methods
public bool IsAllowAccess(System.Uri) Determines whether HTML document source allows access to the specified URI.
public bool IsEmbeddedUri(System.Uri) Determines whether resource width specified URI is embedded.


Vintasoft.Imaging.ImageCollection
Added properties
public Vintasoft.Imaging.ImageCollectionLayoutSettingsManager LayoutSettings { get; } Gets the layout settings manager.
Added methods
public void AddRange(Vintasoft.Imaging.Codecs.Decoders.DecoderBase) Adds all images from the specified decoder.


Vintasoft.Imaging.ImagingEnvironment
Added properties
public static Vintasoft.Imaging.ImagingExternalResourceManager ExternalResourceManager { get; set; } Gets or sets the external resource manager of VintaSoft Imaging .NET SDK.


Vintasoft.Imaging.Codecs.Decoders.AvailableDecoders
Added methods
public static Vintasoft.Imaging.Codecs.Decoders.DecoderBase CreateDecoder(System.IO.Stream, Vintasoft.Imaging.Codecs.Decoders.LayoutSettingsRequestDelegate) Creates the decoder for the image stored in the stream.


Vintasoft.Imaging.Codecs.Decoders.DocumentLayoutSettings
Added properties
public string CodecName { get; } Gets the name of the codec that uses this layout settings.


Vintasoft.Imaging.Codecs.Decoders.DocxDocumentLayoutSettings
Added properties
public static Vintasoft.Imaging.Codecs.Decoders.DocxDocumentLayoutSettings DefaultDocxSettings { get; set; } Gets or sets the default layout settings of DOCX decoder.


Vintasoft.Imaging.Codecs.Decoders.PptxDocumentLayoutSettings
Added properties
public static Vintasoft.Imaging.Codecs.Decoders.PptxDocumentLayoutSettings DefaultPptxSettings { get; set; } Gets or sets the default layout settings of PPTX decoder.


Vintasoft.Imaging.Codecs.Decoders.XlsxDocumentLayoutSettings
Added properties
public Vintasoft.Imaging.Codecs.Decoders.XlsxConverterSettings ConverterSettings { get; set; } Gets or sets the XLSX converter settings.
public static Vintasoft.Imaging.Codecs.Decoders.XlsxDocumentLayoutSettings DefaultXlsxSettings { get; set; } Gets or sets the default layout settings of XLSX decoder.


Vintasoft.Imaging.Codecs.Encoders.PdfEncoderSettings
Added properties
public bool CreateFileAttachmentAnnotations { get; set; } Gets or sets a value indicating whether encoder must create file attachment annotation for each embedded resource in source document.


Vintasoft.Imaging.Drawing.DrawingEngine
Added methods
public void DrawExternalImage(System.Uri, System.Drawing.PointF[]) Draws the specified portion of the specified VintasoftImage in the specified parallelogram.
public void DrawExternalImage(System.Uri, System.Drawing.RectangleF) Draws the specified portion of the specified VintasoftImage in the specified rectangle.


Vintasoft.Imaging.Drawing.DrawingFactory
Added methods
public Vintasoft.Imaging.VintasoftImage CreateRasterImage(int, int, Vintasoft.Imaging.Resolution, Vintasoft.Imaging.PixelFormat, Vintasoft.Imaging.Palette) Creates a VintasoftImage based on VintasoftBitmap with specified parameters.
Changed methods
public Vintasoft.Imaging.Drawing.IDrawingFont CreateFont(System.IO.Stream, float) public Vintasoft.Imaging.Drawing.IDrawingFont CreateFont(System.IO.Stream, string, float)
public Vintasoft.Imaging.Drawing.IDrawingFont CreateFont(string, float) public Vintasoft.Imaging.Drawing.IDrawingFont CreateFont(string, string, float)


Vintasoft.Imaging.Drawing.FormattedText
Added properties
public bool WordSplitIfOverflow { get; set; } Gets or sets a value indicating whether word must be splitted if word does not fit to the text bounding box.


Vintasoft.Imaging.Drawing.GradientStop
Added methods
public static Vintasoft.Imaging.Drawing.GradientStop[] CreateInvertedGradientStops(Vintasoft.Imaging.Drawing.GradientStop[]) Inverts the gradisent stops.


Vintasoft.Imaging.Drawing.GraphicsPathData
Added methods
public void Transfrom(Vintasoft.Imaging.AffineMatrix) Applies a transform matrix to this graphics path data.


Vintasoft.Imaging.ImageColors.ColorBase
Added methods
public static byte GetLuminance(Vintasoft.Primitives.VintasoftColor) Returns the RGB color luminance in the range Ύ 255].


Vintasoft.Imaging.ImageProcessing.ProcessingCommandResults
Added methods
public T FindLastResult<T>() Finds the last result of specified type.


Vintasoft.Imaging.ImageProcessing.Info.ImageRegion
Added methods
public int CompareTo(object) Compares the current instance with another object of the same type and returns an integer that indicates whether the current instance precedes, follows, or occurs in the same position in the sort order as the other object.


Vintasoft.Imaging.Metadata.MetadataNodeCollection<T>
Added methods
public Vintasoft.Imaging.Metadata.T[] ToArray() Converts this collection to array.


Vintasoft.Imaging.Metadata.UriActionMetadata
Added methods
public static System.Uri GetAbsoluteUri(System.Uri, Vintasoft.Imaging.VintasoftImage) Returns the absolute URI for specified image location.


Vintasoft.Imaging.Text.TextRegion
Added methods
public static Vintasoft.Imaging.Text.TextRegion Deserialize(System.IO.Stream) Deserializes a text region from the specified stream.
public void Serialize(System.IO.Stream) Serializes this text region the specified stream.


Vintasoft.Imaging.Text.TextShaper
Added methods
public static string ConvertLogicalToVisually(string) Converts the logical character representation to the visual character representation.


New enumerations:

public enum Vintasoft.Imaging.Vmf.VmfBorderSide Specifies available sides for border.
public enum Vintasoft.Imaging.Vmf.VmfShadingPatternType Specifies available types of the shading pattern.
public enum Vintasoft.Imaging.Vmf.VmfHorizontalAlignmentType Specifies available types of horizontal alignment.
public enum Vintasoft.Imaging.Vmf.VmfStrikethroughType Specifies available types of strikethrough.
public enum Vintasoft.Imaging.Vmf.VmfDocumentGutterPosition Specifies available gutter positions of VMF page.
public enum Vintasoft.Imaging.Vmf.VmfStyleType Specifies available types of a style.
public enum Vintasoft.Imaging.Vmf.VmfParagraphLineSpacingRule Specifies available rules for interpretation of paragraph spacing between lines.
public enum Vintasoft.Imaging.Vmf.VmfRunUnderlineType Specifies available types of text underline.
public enum Vintasoft.Imaging.Vmf.VmfTextVerticalPosition Specifies available vertical positions of text.
public enum Vintasoft.Imaging.Vmf.VmfPageBorderDisplayType Specifies available modes of page border display.
public enum Vintasoft.Imaging.Vmf.VmfSectionBreakType Specifies available types of section break.


Changed enumerations:

Vintasoft.Imaging.ImageProcessing.Info.ImageRegionType
Added fields
public Vintasoft.Imaging.ImageProcessing.Info.ImageRegionType Table Region contains table.
public Vintasoft.Imaging.ImageProcessing.Info.ImageRegionType TableRow Region contains table row.
public Vintasoft.Imaging.ImageProcessing.Info.ImageRegionType TableCell Region contains table cell.


New delegates:

public delegate Vintasoft.Imaging.Codecs.Decoders.LayoutSettingsRequestDelegate Delegate of layout settings request.




API changes in Vintasoft.Imaging.UI.dll

New classes:

public class Vintasoft.Imaging.UI.FileThumbnailInfo Contains information about the thumbnail of file.
public class Vintasoft.Imaging.UI.FolderThumbnailViewer Provides a WinForms thumbnail viewer control that displays thumbnails for image files, which are stored in a folder.


Changed classes:

Vintasoft.Imaging.UI.ImageViewerImagesManager
Added properties
public Vintasoft.Imaging.UI.ImageViewerBase ImageViewer { get; } Gets the image viewer.


Vintasoft.Imaging.UI.ThumbnailViewer
Added events
public event Vintasoft.Imaging.PropertyChangedEventHandler<Vintasoft.Imaging.UI.ThumbnailCaption> ThumbnailCaptionChanged Occurs when ThumbnailCaption property is changed.




API changes in Vintasoft.Imaging.Wpf.dll

New classes:

public abstract class Vintasoft.Imaging.Drawing.Wpf.WpfBrush Defines the abstract base class of drawing brush that is based on [System.Windows.Media.Brush] that is used to fill the interiors of graphical shapes such as rectangles, ellipses, pies, polygons, and paths.
public class Vintasoft.Imaging.Drawing.Wpf.WpfDrawingEngine Provides the 2D drawing engine, which is based on System.Windows.Media.DrawingContext .
public class Vintasoft.Imaging.Drawing.Wpf.WpfDrawingFactory Represents the drawing factory for WpfDrawingEngine .
public class Vintasoft.Imaging.Drawing.Wpf.WpfFont Defines the font, which is based on [System.Windows.Media.Typeface] .
public abstract class Vintasoft.Imaging.Drawing.Wpf.WpfGradientBrush Defines the solid brush, which is based on [System.Windows.Media.GradientBrush] and paints an area with a gradient.
public class Vintasoft.Imaging.Drawing.Wpf.WpfGraphicsPath Defines the graphics path based on [System.Windows.Media.PathGeometry] that provides series of connected lines and curves.
public class Vintasoft.Imaging.Drawing.Wpf.WpfImageBrush Defines the image brush based on [System.Windows.Media.ImageBrush] that uses an image to fill the interior of a shape.
public class Vintasoft.Imaging.Drawing.Wpf.WpfLinearGradientBrush Defines the solid brush, which is based on [System.Windows.Media.LinearGradientBrush] and paints an area with a linear gradient.
public class Vintasoft.Imaging.Drawing.Wpf.WpfPen Defines the pen, which is based on [System.Windows.Media.Pen] and is used to draw lines and curves.
public class Vintasoft.Imaging.Drawing.Wpf.WpfRadialGradientBrush Defines the solid brush, which is based on [System.Windows.Media.RadialGradientBrush] and paints an area with a radial gradient.
public class Vintasoft.Imaging.Drawing.Wpf.WpfRegion Defines the region based on [System.Windows.Media.Geometry] that is used to describe the interior of a graphics shape composed of rectangles and paths.
public class Vintasoft.Imaging.Drawing.Wpf.WpfSolidBrush Defines the solid brush based on [System.Windows.Media.SolidColorBrush] that used to fill the interiors of graphical shapes use single color.


Changed classes:

Vintasoft.Imaging.Wpf.VintasoftImageConverter
Added methods
public static System.Windows.Media.Imaging.BitmapSource ToBitmapSource(Vintasoft.Imaging.VintasoftImage, Vintasoft.Primitives.VintasoftRectI) Converts the VintasoftImage object to the System.Windows.Media.Imaging.BitmapSource object.


Vintasoft.Imaging.Wpf.WpfEmptyDrawingSurface
Changed constructors
public void WpfEmptyDrawingSurface(System.Windows.Media.Matrix, Vintasoft.Imaging.Resolution, float) public void WpfEmptyDrawingSurface(Vintasoft.Imaging.AffineMatrix, Vintasoft.Imaging.Resolution, float)




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

New classes:

public class Vintasoft.Imaging.Wpf.UI.FileThumbnailInfo Contains information about the thumbnail of file.
public class Vintasoft.Imaging.Wpf.UI.WpfFolderThumbnailViewer Provides a WPF thumbnail viewer control that displays thumbnails for image files, which are stored in a folder.


Changed classes:

Vintasoft.Imaging.Wpf.UI.WpfImageViewerImagesManager
Added properties
public Vintasoft.Imaging.Wpf.UI.WpfImageViewerBase ImageViewer { get; } Gets the image viewer.


Vintasoft.Imaging.Wpf.UI.WpfThumbnailViewer
Added methods
public Vintasoft.Imaging.VintasoftImage[] GetSelectedImages() Returns the selected images.
Added events
public event Vintasoft.Imaging.PropertyChangedEventHandler<Vintasoft.Imaging.Wpf.UI.ThumbnailImageItemCaption> ThumbnailCaptionChanged Occurs when ThumbnailCaption property is changed.