VintaSoft Imaging .NET SDK 12.3: Documentation for .NET developer
In This Topic
    VintaSoft PDF .NET Plug-in: Changes in version 9.0
    In This Topic

    API changes in Vintasoft.Imaging.Pdf.dll

    New classes:

    public class Vintasoft.Imaging.Metadata.PdfPageTextRegionMetadata A metadata node that stores information about text region of PDF page.
    public class Vintasoft.Imaging.Pdf.Drawing.PdfDrawingEngine Provides the drawing engine, which is based on PDF drawing surface.
    public abstract class Vintasoft.Imaging.Pdf.Processing.PdfPageConverterCommand Represents a base class of PDF page converter.
    public class Vintasoft.Imaging.Pdf.Processing.PdfSimplifyContentCommand A processing command that allows to simplify the vector graphics of PDF document content.


    Rename classes:

    public class Vintasoft.Imaging.Pdf.PdfRenderingSettings public class Vintasoft.Imaging.Codecs.Decoders.PdfRenderingSettings
    public class Vintasoft.Imaging.Pdf.RegionF public class Vintasoft.Imaging.RegionF
    public class Vintasoft.Imaging.Pdf.Content.TextExtraction.PdfTextRegion public class Vintasoft.Imaging.Text.TextRegion
    public abstract class Vintasoft.Imaging.Pdf.Content.TextExtraction.PdfTextRegionFormatter public abstract class Vintasoft.Imaging.Text.TextRegionFormatter
    public class Vintasoft.Imaging.Pdf.Content.TextExtraction.PdfTextRegionLine public class Vintasoft.Imaging.Text.TextRegionLine
    public class Vintasoft.Imaging.Pdf.Content.TextExtraction.PdfTextRegionLinesFormatter public class Vintasoft.Imaging.Text.TextRegionLinesFormatter
    public class Vintasoft.Imaging.Pdf.Content.TextExtraction.PdfTextRegionMonospaceFormatter public class Vintasoft.Imaging.Text.TextRegionMonospaceFormatter
    public class Vintasoft.Imaging.Pdf.Content.TextExtraction.PdfTextRegionParagraphFormatter public class Vintasoft.Imaging.Text.TextRegionParagraphFormatter
    public class Vintasoft.Imaging.Pdf.Content.TextExtraction.PdfTextRegionRawFormatter public class Vintasoft.Imaging.Text.TextRegionRawFormatter
    public class Vintasoft.Imaging.Pdf.Content.TextExtraction.PdfTextRegionSymbol public class Vintasoft.Imaging.Text.TextRegionSymbol
    public abstract class Vintasoft.Imaging.Pdf.Content.TextExtraction.TextSearchEngine public abstract class Vintasoft.Imaging.Text.TextSearchEngine
    public class Vintasoft.Imaging.Pdf.Content.TextExtraction.TextSearchResult public class Vintasoft.Imaging.Text.TextSearchResult


    Changed classes:

    Vintasoft.Imaging.Pdf.PdfDocument
    Added methods
    public Vintasoft.Imaging.Pdf.Tree.PdfResource[] GetMultipleUsedXObjectResources() Returns XObject resources (images, forms), which are used multiple times in content streams.


    Vintasoft.Imaging.Pdf.PdfFontManager
    Added methods
    public System.IO.Stream GetTrueTypeFontFromFontCollection(System.IO.Stream, string) Returns the TrueType Font with specified name from TrueType Font Collection (TTC).
    public static bool IsTrueTypeFontCollection(System.IO.Stream) Determines whether specified stream contains TrueType Font Collection (TTC).


    Vintasoft.Imaging.Pdf.Content.PdfContentXObjectEditor
    Added methods
    public void DuplicateXObjectResource(Vintasoft.Imaging.Pdf.Content.PdfContentXObject) Duplicates XObject resource of specified content XObject.
    public Vintasoft.Imaging.Pdf.Content.PdfContentXObject[] FindXObjects(System.Drawing.RectangleF[]) Finds all XObjects (image-resources, PDF forms, etc), which intersect with specified rect set.
    public void SetXObjectResource(Vintasoft.Imaging.Pdf.Content.PdfContentXObject, Vintasoft.Imaging.Pdf.Tree.PdfResource) Sets the resource of content XObject.
    public void SetXObjectResource(Vintasoft.Imaging.Pdf.Content.PdfContentXObject, Vintasoft.Imaging.Pdf.Tree.PdfResource, Vintasoft.Imaging.AffineMatrix) Sets the resource and/or applies tranformation to the content XObject.
    public void TransfromXObject(Vintasoft.Imaging.Pdf.Content.PdfContentXObject, Vintasoft.Imaging.AffineMatrix) Transforms the specified content XObject.


    Vintasoft.Imaging.Pdf.Drawing.PdfBrush
    Added properties
    public Vintasoft.Imaging.Pdf.Tree.Patterns.PdfGraphicalPattern Pattern { get; } Gets the graphical pattern of this brush.
    Added constructors
    public void PdfBrush(Vintasoft.Imaging.Pdf.Tree.Patterns.PdfGraphicalPattern) Initializes a new instance of the PdfBrush class.


    Vintasoft.Imaging.Pdf.Drawing.PdfGraphics
    Added properties
    public Vintasoft.Imaging.AffineMatrix ImageTransform { get; set; } Gets or sets the geometric world transformation for images drawing.
    Added methods
    public static Vintasoft.Imaging.Pdf.Drawing.PdfGraphics FromTilingPattern(Vintasoft.Imaging.Pdf.Tree.Patterns.TilingPattern, Vintasoft.Imaging.Pdf.Drawing.PdfGraphicsCreationMode) Creates a new PdfGraphics from the specified TilingPattern.
    Renamed methods
    public void Rectangle(Vintasoft.Imaging.Pdf.Drawing.PdfPen, Vintasoft.Imaging.Pdf.Drawing.PdfBrush, System.Drawing.RectangleF) public void FillAndDrawRectangle(Vintasoft.Imaging.Pdf.Drawing.PdfPen, Vintasoft.Imaging.Pdf.Drawing.PdfBrush, System.Drawing.RectangleF)


    Vintasoft.Imaging.Pdf.Drawing.PdfPen
    Added properties
    public Vintasoft.Imaging.Pdf.Tree.GraphicsStateLineCapStyle LineCapStyle { get; set; } Gets or sets the shape of the endpoints for dashes.


    Vintasoft.Imaging.Pdf.JavaScriptApi.PdfJsField
    Added properties
    public object page { get; } Gets the page number or an array of page numbers of a field.
    public float[] rect { get; set; } Gets or sets an array consists of four numbers specifying the upper-left x, upper-left y, lower-right x and lower-right y coordinates, in rotated user space, of the size and placement of the form field.


    Vintasoft.Imaging.Pdf.Tree.PdfFormXObjectResource
    Added methods
    public Vintasoft.Imaging.Pdf.Drawing.PdfGraphics GetGraphics() Initializes a new instance of the PdfGraphics class associated with this form.


    Vintasoft.Imaging.Pdf.Tree.PdfGroupAttributes
    Changed properties
    public Vintasoft.Imaging.Pdf.Tree.ColorSpaces.PdfColorSpace ColorSpace { get; } public Vintasoft.Imaging.Pdf.Tree.ColorSpaces.PdfColorSpace ColorSpace { get; set; }
    Added constructors
    public void PdfGroupAttributes(Vintasoft.Imaging.Pdf.PdfDocument) Initializes a new instance of the PdfGroupAttributes class.


    Vintasoft.Imaging.Pdf.Tree.PdfNamedDictionaryBase<T>
    Added methods
    public string FindValue(Vintasoft.Imaging.Pdf.Tree.T) Finds the value in this dictionary.


    Vintasoft.Imaging.Pdf.Tree.PdfPage
    Changed properties
    public Vintasoft.Imaging.Pdf.Content.TextExtraction.PdfTextRegion TextRegion { get; } public Vintasoft.Imaging.Text.TextRegion TextRegion { get; }
    Renamed methods
    public Vintasoft.Imaging.AffineMatrix GetTrasformFromImageSpaceToPageSpace(Vintasoft.Imaging.Resolution) public Vintasoft.Imaging.AffineMatrix GetTransformFromImageSpaceToPageSpace(Vintasoft.Imaging.Resolution)
    public Vintasoft.Imaging.AffineMatrix GetTrasformFromPageSpaceToImageSpace(Vintasoft.Imaging.Resolution) public Vintasoft.Imaging.AffineMatrix GetTransformFromPageSpaceToImageSpace(Vintasoft.Imaging.Resolution)


    Vintasoft.Imaging.Pdf.Tree.PdfResources
    Added methods
    public string AddResource(Vintasoft.Imaging.Pdf.Tree.PdfTreeNodeBase) Adds the named resource to this resources.


    Vintasoft.Imaging.Pdf.Tree.PdfTransparencyGroupAttributes
    Added constructors
    public void PdfTransparencyGroupAttributes(Vintasoft.Imaging.Pdf.PdfDocument) Initializes a new instance of the PdfTransparencyGroupAttributes class.


    Vintasoft.Imaging.Pdf.Tree.ColorSpaces.PdfColorSpace
    Added properties
    public Vintasoft.Imaging.Pdf.Tree.ColorSpaces.PdfColorSpace DeviceCMYK { get; } Gets the DeviceCMYK color space.
    public Vintasoft.Imaging.Pdf.Tree.ColorSpaces.PdfColorSpace DeviceGray { get; } Gets the DeviceGray color space.
    public Vintasoft.Imaging.Pdf.Tree.ColorSpaces.PdfColorSpace DeviceRGB { get; } Gets the DeviceRGB color space.
    public Vintasoft.Imaging.Pdf.Tree.ColorSpaces.PdfColorSpace Pattern { get; } Gets the Pattern color space.


    Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont
    Added properties
    public bool CharCode32IsSpace { get; } Gets a value indicating whether character with code 32 is space.
    public System.Drawing.RectangleF FontBBox { get; } Gets a rectangle, expressed in the glyph coordinate system, specifying the font bounding box.
    Added methods
    public float GetSymbolWidth(uint) Returns the symbol width.


    Vintasoft.Imaging.Pdf.Tree.Patterns.PdfGraphicalPattern
    Added properties
    public float[] Matrix { get; set; } An array of six numbers specifying the pattern matrix, which maps from space into user space.
    Changed properties
    public Vintasoft.Imaging.Pdf.Tree.Patterns.PatternType PatternType { get; } public Vintasoft.Imaging.Pdf.Tree.Patterns.PatternType PatternType { get; set; }


    Vintasoft.Imaging.Pdf.Tree.Patterns.TilingPattern
    Added properties
    public System.Drawing.RectangleF BoundingBox { get; set; } Gets or sets a rectangle that specifies the pattern cell's bounding box.
    public Vintasoft.Imaging.Pdf.Tree.Patterns.TilingType TilingType { get; set; } Gets or sets the tiling type.
    public float XStep { get; set; } Gets or sets desired horizontal spacing between pattern cells, measured in the pattern coordinate system.
    public float YStep { get; set; } Gets or sets desired vertical spacing between pattern cells, measured in the pattern coordinate system.
    Changed properties
    public Vintasoft.Imaging.Pdf.Tree.PdfResources Resources { get; } public Vintasoft.Imaging.Pdf.Tree.PdfResources Resources { get; set; }
    Added constructors
    public void TilingPattern(Vintasoft.Imaging.Pdf.PdfDocument) Initializes a new instance of the TilingPattern class.
    public void TilingPattern(Vintasoft.Imaging.Pdf.PdfDocument, float, float) Initializes a new instance of the TilingPattern class.
    Added methods
    public Vintasoft.Imaging.Pdf.Drawing.PdfGraphics GetGraphics() Returns the graphics of this pattern.


    New enumerations:

    public enum Vintasoft.Imaging.Pdf.Tree.Patterns.TilingType Specifies available tiling types of tiling pattern, that controls adjustments to the spacing of tiles relative to the device pixel grid.


    Renamed enumerations:

    public enum Vintasoft.Imaging.Pdf.Content.TextRenderingMode public enum Vintasoft.Imaging.Text.TextRenderingMode
    public enum Vintasoft.Imaging.Pdf.Content.TextExtraction.PdfTextSelectionMode public enum Vintasoft.Imaging.Text.TextSelectionMode


    Renamed delegates:

    public delegate Vintasoft.Imaging.Pdf.Content.TextExtraction.TextRegionLineSymbolPredicate public delegate Vintasoft.Imaging.Text.TextRegionLineSymbolPredicate




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

    Removed classes:

    public class Vintasoft.Imaging.Pdf.UI.PdfLinkEventArgs Use DocumentNavigationTool instead.


    Renamed classes:

    public class Vintasoft.Imaging.Pdf.UI.PdfTextSearchedEventArgs public class Vintasoft.Imaging.Text.TextSearchedEventArgs
    public class Vintasoft.Imaging.Pdf.UI.PdfTextSearchingProgressEventArgs public class Vintasoft.Imaging.Text.TextSearchingProgressEventArgs
    public class Vintasoft.Imaging.Pdf.UI.PdfTextSelectionTool public class Vintasoft.Imaging.UI.TextSelectionTool


    Changed classes:

    Vintasoft.Imaging.Pdf.UI.PdfContentXObjectTool
    Added methods
    public void SetXObjectResource(Vintasoft.Imaging.Pdf.Content.PdfContentXObject, Vintasoft.Imaging.Pdf.Tree.PdfResource) Sets the resource of content XObject.
    public void TransformXObject(Vintasoft.Imaging.Pdf.Content.PdfContentXObject, Vintasoft.Imaging.AffineMatrix) Transforms the specified content XObject.


    Renamed enumerations:

    public enum Vintasoft.Imaging.Pdf.UI.PdfTextToolAction public enum Vintasoft.Imaging.UI.TextSelectionToolAction




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

    Removed classes:

    public class Vintasoft.Imaging.Pdf.Wpf.UI.PdfLinkEventArgs Use WpfDocumentNavigationTool instead.


    Renamed classes:

    public class Vintasoft.Imaging.Pdf.Wpf.UI.PdfTextSearchedEventArgs public class Vintasoft.Imaging.Text.TextSearchedEventArgs
    public class Vintasoft.Imaging.Pdf.Wpf.UI.PdfTextSearchingProgressEventArgs public class Vintasoft.Imaging.Text.TextSearchingProgressEventArgs
    public class Vintasoft.Imaging.Pdf.Wpf.UI.WpfPdfTextSelectionTool public class Vintasoft.Imaging.Wpf.UI.WpfTextSelectionTool


    Changed classes:

    Vintasoft.Imaging.Pdf.Wpf.UI.WpfPdfContentXObjectTool
    Added methods
    public void SetXObjectResource(Vintasoft.Imaging.Pdf.Content.PdfContentXObject, Vintasoft.Imaging.Pdf.Tree.PdfResource) Sets the resource of content XObject.
    public void TransformXObject(Vintasoft.Imaging.Pdf.Content.PdfContentXObject, Vintasoft.Imaging.AffineMatrix) Transforms the specified content XObject.


    Renamed enumerations:

    public enum Vintasoft.Imaging.Pdf.Wpf.UI.PdfTextToolAction public enum Vintasoft.Imaging.UI.TextSelectionToolAction