GroupDocs.Parser for .NET 25.7 Release Notes

Full List of Issues Covering all Changes in this Release

KeySummaryCategory
PARSERNET-2688Improve performance of parsing by templateImprovement
PARSERNET-2689Implement the ability to set the page width for the parsing template fieldImprovement

Public API and Backward Incompatible Changes

Improve performance of parsing by template

Description

This improvement increases the performance of the template parsing functionality.

Public API changes

None.

Usage

None.

Implement the ability to set the page width for the parsing template field

Description

This improvement implements the ability to set the page width for the parsing template field. If the page width is set for a parsing template field, the template can be used with another DPI without recalculating the field coordinates.

Public API changes

Constructor TemplateBarcode(GroupDocs.Parser.Data.Rectangle, System.String, System.Nullable<System.Int32>, Boolean) has been removed from GroupDocs.Parser.Templates.TemplateBarcode class.
Constructor TemplateBarcode(GroupDocs.Parser.Data.Rectangle, System.String, System.Nullable<System.Int32>, System.Nullable<System.Double>) has been added to GroupDocs.Parser.Templates.TemplateBarcode class.
Constructor TemplateBarcode(GroupDocs.Parser.Data.Rectangle, System.String, System.Nullable<System.Int32>, System.Nullable<System.Double>, Boolean) has been added to GroupDocs.Parser.Templates.TemplateBarcode class.

Constructor TemplateField(GroupDocs.Parser.Templates.TemplatePosition, System.String, System.Nullable<System.Int32>, Boolean) has been removed from GroupDocs.Parser.Templates.TemplateField class.
Constructor TemplateField(GroupDocs.Parser.Templates.TemplatePosition, System.String, System.Nullable<System.Int32>, System.Nullable<System.Double>) has been added to GroupDocs.Parser.Templates.TemplateField class.
Constructor TemplateField(GroupDocs.Parser.Templates.TemplatePosition, System.String, System.Nullable<System.Int32>, System.Nullable<System.Double>, Boolean) has been added to GroupDocs.Parser.Templates.TemplateField class.

Property System.Nullable<System.Double> PageWidth has been added to GroupDocs.Parser.Templates.TemplateItem class. Constructor TemplateTable(GroupDocs.Parser.Templates.TemplateTableLayout, System.String, System.Nullable<System.Int32>, Boolean) has been removed from GroupDocs.Parser.Templates.TemplateTable class.
Constructor TemplateTable(GroupDocs.Parser.Templates.TemplateTableParameters, System.String, System.Nullable<System.Int32>, Boolean) has been removed from GroupDocs.Parser.Templates.TemplateTable class.
Constructor TemplateTable(GroupDocs.Parser.Templates.TemplateTableLayout, System.String, System.Nullable<System.Int32>, System.Nullable<System.Double>) has been added to GroupDocs.Parser.Templates.TemplateTable class.
Constructor TemplateTable(GroupDocs.Parser.Templates.TemplateTableLayout, System.String, System.Nullable<System.Int32>, System.Nullable<System.Double>, Boolean) has been added to GroupDocs.Parser.Templates.TemplateTable class.
Constructor TemplateTable(GroupDocs.Parser.Templates.TemplateTableParameters, System.String, System.Nullable<System.Int32>, System.Nullable<System.Double>) has been added to GroupDocs.Parser.Templates.TemplateTable class.
Constructor TemplateTable(GroupDocs.Parser.Templates.TemplateTableParameters, System.String, System.Nullable<System.Int32>, System.Nullable<System.Double>, Boolean) has been added to GroupDocs.Parser.Templates.TemplateTable class.

Usage

The following example shows how to create a template field with the page width specification for automatic DPI recalculation.

TemplateField templateField = new TemplateField(
    new TemplateFixedPosition(new Rectangle(new Point(35, 160), new Size(110, 20))),
    "Address",
	1,
	600.0);