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

    Changes in Vintasoft.Imaging.Pdf.dll

    New classes:

    public class Vintasoft.Imaging.Pdf.Tree.PdfTreeNodeList<T> Generic list of elements derived from Vintasoft.Imaging.Pdf.Tree.PdfTreeNodeBase class.
    public class Vintasoft.Imaging.Pdf.Tree.Annotations.PdfAnnotationList Represents a collection of Vintasoft.Imaging.Pdf.Tree.Annotations.PdfAnnotation objects.

    Changed classes:

    Vintasoft.Imaging.Pdf.PdfDocument
    Added methods
    public Vintasoft.Imaging.Pdf.Security.AuthorizationResult AuthenticateAsUser(string) Performs authentication as user using specified password.
    public Vintasoft.Imaging.Pdf.Security.AuthorizationResult AuthenticateAsOwner(string) Performs authentication as owner using specified password.
    public System.Collections.ObjectModel.ReadOnlyCollection<Vintasoft.Imaging.Pdf.Tree.PdfResource> GetResources() Returns a collection of resources of this PDF document.

    Vintasoft.Imaging.Pdf.PdfFormat
    Renamed properties
    public bool CompresedCrossReferenceTable { get; } public bool CompressedCrossReferenceTable { get; }

    Vintasoft.Imaging.Pdf.PdfFontManager
    Added methods
    public Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont CreateSimpleFontFromTrueTypeFont(System.IO.Stream, Vintasoft.Imaging.Pdf.PdfCompression) Creates a simple font based on a file of TrueType font.
    public Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont CreateCIDFontFromTrueTypeFont(System.IO.Stream, Vintasoft.Imaging.Pdf.PdfCompression) Creates a CID font based on a file of TrueType font.

    Vintasoft.Imaging.Pdf.PdfCompressionSettings
    Added properties
    public Vintasoft.Imaging.Codecs.Encoders.JpegEncoderSettings JpegSettings { get; set; } Gets or sets the JPEG encoder settings.
    Removed properties
    public bool CheckSizeOfZipCompressedData { get; set; } Use the Vintasoft.Imaging.Pdf.Tree.PdfImageResource.Compress method instead.

    Vintasoft.Imaging.Pdf.Content.ImageExtraction.ContentImage
    Added properties
    public Vintasoft.Imaging.Resolution Resolution { get; } Gets a rendering resolution of content image.

    Vintasoft.Imaging.Pdf.Drawing.PdfGraphics
    Added methods
    public void MultiplyTransform(Single, Single, Single, Single, Single, Single) Multiplies the world transformation of this Vintasoft.Imaging.Pdf.Drawing.PdfGraphics object and specified transformation.
    public void IntersectClip(Single, Single, Single, Single, System.Drawing.Drawing2D.FillMode) Updates the clip region of this Vintasoft.Imaging.Pdf.Drawing.PdfGraphics to the intersection of the current clip region and the specified rectangle.
    public void DrawImage(Vintasoft.Imaging.Pdf.Tree.PdfImageResource) Draws the specified Vintasoft.Imaging.Pdf.Tree.PdfImageResource at the current location.

    Vintasoft.Imaging.Pdf.Tree.PdfPage
    Added properties
    public Vintasoft.Imaging.Pdf.Tree.Annotations.PdfAnnotationList Annotations { get; set; } Gets or sets an annotation array representing annotations associated with the page.
    Changed properties
    public Vintasoft.Imaging.Pdf.Tree.PdfMetadataResource Metadata { get; set; } public Vintasoft.Imaging.Pdf.Tree.PdfResource Metadata { get; set; }
    Added methods
    public Vintasoft.Imaging.Pdf.Content.ImageExtraction.ImageExtractor GetContentImageExtractor() Returns content image extractor associated with this page.
    public System.Collections.ObjectModel.ReadOnlyCollection<Vintasoft.Imaging.Pdf.Tree.PdfResource> GetResources() Returns a collection of resources of this PDF page.

    Vintasoft.Imaging.Pdf.Tree.PdfResource
    Added properties
    public Vintasoft.Imaging.Pdf.Tree.PdfResourceType ResourceType { get; } Gets a type of this resource.
    Added methods
    public void set_Metadata(Vintasoft.Imaging.Pdf.Tree.PdfMetadataResource)
    public bool CompressLossless(Vintasoft.Imaging.Pdf.PdfCompression, Vintasoft.Imaging.Pdf.PdfCompressionSettings, bool) Compress the resource using lossless compression.

    Vintasoft.Imaging.Pdf.Tree.PdfImageResource
    Added properties
    public int SourceBitPerComponent { get; } Gets the number of bits per component of image data of this image resource.
    public int SourceComponentCount { get; } Gets the number of color components of image data of this image resource.
    public Vintasoft.Imaging.PixelFormat PixelFormat { get; } Gets the pixel format of this image.
    public bool IsGrayscale { get; } Gets a value indicating whether this image resource contains grayscale image.
    public Vintasoft.Imaging.Pdf.Tree.PdfResourceType ResourceType { get; } Gets a type of this resource.
    Added methods
    public void SetImage(Vintasoft.Imaging.VintasoftImage, Vintasoft.Imaging.Pdf.PdfCompression, Vintasoft.Imaging.Pdf.PdfCompressionSettings) Sets an image of the image-resource.
    public void SetImage(Vintasoft.Imaging.VintasoftImage, Vintasoft.Imaging.Pdf.PdfCompression, Vintasoft.Imaging.Pdf.PdfCompressionSettings, Vintasoft.Imaging.Utils.IProgressController) Sets an image of the image-resource.
    public bool Compress(Vintasoft.Imaging.Pdf.PdfCompression, Vintasoft.Imaging.Pdf.PdfCompressionSettings) Compress the image-resource.
    public bool Compress(Vintasoft.Imaging.Pdf.PdfCompression, Vintasoft.Imaging.Pdf.PdfCompressionSettings, Double, Double) Compress the image-resource.
    public bool Compress(Vintasoft.Imaging.Pdf.PdfCompression, Vintasoft.Imaging.Pdf.PdfCompressionSettings, Double, Double, System.Drawing.Drawing2D.InterpolationMode, bool) Compress the image-resource.

    Vintasoft.Imaging.Pdf.Tree.PdfEmbeddedFile
    Added properties
    public Vintasoft.Imaging.Pdf.Tree.PdfResourceType ResourceType { get; } Gets a type of this resource.

    Vintasoft.Imaging.Pdf.Tree.PdfGotoAction
    Changed constructors
    public void PdfGotoAction(Vintasoft.Imaging.Pdf.PdfDocument, Vintasoft.Imaging.Pdf.Tree.PdfDestinationBase) public void PdfGotoAction(Vintasoft.Imaging.Pdf.Tree.PdfDestinationBase)

    Vintasoft.Imaging.Pdf.Tree.Annotations.PdfLinkAnnotation
    Added properties
    public Vintasoft.Imaging.Pdf.Tree.PdfDestinationBase Destination { get; set; } The destination to be displayed when this link is activated.

    New enumerations:

    public enum Vintasoft.Imaging.Pdf.Tree.PdfResourceType Specifies available types of PDF resources.