Swiss QRCode support with Aspose.BarCode for .NET v19.10

Share on FacebookTweet about this on TwitterShare on LinkedIn

We are glad to roll out our latest release of Aspose.BarCode for .NET v19.10 having support for widely used Swiss QRCode. This new feature will make developers capable of developing applications to use it on bills, making digital payments, product packaging, railways, bike-sharing and even for buying bitcoins. Details of all the new exciting features can be found in the release notes containing a list of all the new added features, bugs resolution and public API changes which a developer should know for working with latest upgrades. So let us jump into this new release and see how these new features can be used.

Generate Swiss QR Code

One of the important usages of Swiss QR Code is to replace the previous payment slips. For this purpose, detailed information is required to trigger payments and process the QR invoice. Aspose.BarCode has provided all those necessary payment information by introducing new classes  SwissQRBill and  SwissQRCodetext which provide a large number of properties required to work with the Swiss QR Codes.

Here is a detailed example for generating the Swiss QR Code. To perform this activity you have to instantiate a  ComplexBarcodeGenerator instance and provide SwissQRCodetext containing all the necessary information for billing.

Following is the output Swiss QR Code generated with the above code sample:

You may visit the following link for this example and other details in the developers’ guide.

Generate Swiss QR Code

Reading the Swiss QR Code

As mentioned earlier, Swiss codes are widely used so reading is also implemented for a wide range of Swiss QR Codes. A new class ComplexCodetextReader is to be instantiated by setting the DecodeType.QR. Following is the sample code which reads a Swiss QR Code and displays the detail.

For more details visit here.

Read information from Columbia Id cards and driving license

For testing purpose, we tried our product on a few used Columbia Id cards and driving license. It was a success and all the information was read successfully however few enhancements were done to read the information without any error. As we know that Pdf417 is used in this case which is a stacked linear barcode format used in a variety of applications such as transport, identification cards, and inventory management. “PDF” stands for Portable Data File. The “417” signifies that each pattern in the code consists of 4 bars and spaces in a pattern that is 17 units (modules) long. We have made the following enhancements in this case:

  • Enhance restoration methods for blurred Pdf417 barcodes
  • Improve basic recognition quality
  • Avoid failures during image to text conversion
  • Investigation for a multithreaded framework for Zebra target detection
A Sample Id card from Columbia

Enhancement to read the whole length of the barcode

There was an issue while reading whole length of the barcode as the whole text was not read and the partial text was returned by the API. A detailed investigation was done and observed that current wiped bar restoration works only for NBase and need changes which could be implemented for WBase based barcodes. Another problem is the absence of checksum in Code39 barcodes, which doesn’t allow to check if the result correct. All these issues were resolved and this issue was sorted out by enabling the wiped bars option.

Following sample code reads the whole length of the barcode.

Aspose.BarCode for .NET Resources

You can get started with Aspose.BarCode for .NET by making use of information available in the following:


The post Swiss QRCode support with Aspose.BarCode for .NET v19.10 appeared first on File Format APIs Blog – aspose.com.

Posted in Conholdate.Total Product Family, Aspose.BarCode Product Family | Tagged | Leave a comment

Support of Web Extension and .NET 3.0 in Aspose.Words for .NET 19.11

Share on FacebookTweet about this on TwitterShare on LinkedIn

It is our pleasure to announce November release of Aspose.Words for .NET. We have included quite exciting features and enhancements in this release. Now, you can add Web extension elements in Word document, format the horizontal rule, and use Aspose.Words with .NET Core 3.0. let’s check out how to use newly introduced features.

Support of Web Extension Elements

Microsoft Office allows you to add more functionality through web extension. It extends Office applications and interact with the content in Office documents. Web Extension adds additional functionality to Office client to improve the user experience and productivity.

How to work with Web extensions using Aspose.Words? Well, it is not magic.

We have added Aspose.Words.WebExtensions namespace in this release to work with Web extensions. This namespace allows you to customize elements and attributes that extend the XML vocabulary for representing Office Add-ins. Please read following article about working with Web extensions.

Working with Web Extensions

Format Horizontal Rule

Adding horizontal line in MS Word document is sometime called horizontal rule. We have added new feature in this release to format the horizontal rule. In previous versions of Aspose.Words, you can add it using DocumentBuilder.InsertHorizontalRule method. However, formatting of horizontal rule was not supported. We have added Shape.HorizontalRuleFormat property and public class HorizontalRuleFormat in this release to format the horizontal rule. Now, you can set height, width, color, alignment, and 3D shading of it using this release of Aspose.Words. Following code example shows how to format horizontal rule.

Improved Macros Support

Aspose.Words already provides API to read and write the VBA Project. In this release, we have improved the macros support. Now, you can set the name of VBA project, read the VBA project’s code page, read and write VBA module name, add and remove VBA module. Following code example shows how to set properties of VbaProject and VbaModule classes.

Aspose.Words.MailMerging.MailMergeRtlCleanupMode was removed

We have removed obsolete enum Aspose.Words.MailMerging.MailMergeRtlCleanupMode from Aspose.Words’ API.

When time allows you can check Aspose.Words’ API reference guide, examples at Github, talk about this release and other API related issues in our forum.

We recommend you please check the release notes of Aspose.Words for .NET 19.11 for complete detail of API changes.

The post Support of Web Extension and .NET 3.0 in Aspose.Words for .NET 19.11 appeared first on File Format APIs Blog – aspose.com.

Posted in Conholdate.Total Product Family, Aspose.Words Product Family | Tagged | Leave a comment

Support for Font FallBack and Prompt Text using Aspose.Slides for C++

Share on FacebookTweet about this on TwitterShare on LinkedIn

Here comes new release of Aspose.Slides 19.10 for C++, which has been enriched with new features. Now, we offer support for Font FallBack and Prompt Text using Aspose.Slides.

Support For Font FallBack

A Font Fallback is a reserve type containing symbols for as several Unicode characters as doable. When a display system encounters a character that is not part of the repertoire of any of the other available fonts, a symbol from a fallback font is used instead. Normally, a fallback font style will contain images illustrative of the different sorts of Unicode characters. For this purpose a new method IFontFallBackRule has been added in Aspose.Slides for C++.

The following code example shows how to set font fall back using FontFallBackRule objects.

For more details visit here.

Set Prompt Text in a Placeholder

A Prompt Text is a content that shows up in a content field when it is first load however that disappears when a client begins composing into the content field. This is essentially for client straightforwardness to become more acquainted with what is to be entered in the chose field. We know that Standard and pre-built layouts contain placeholders with default text like Click to add a title or Click to add subtitle. Using Aspose.Slides you can add prompt text manually by accessing the default placeholders.

The code snippet below shows how to use this feature:

For more details visit here.

Wait, there’s many other features, enhancement, and bug fixes included in this release. Here you can get the detail!

When time allows you can check out API examples at Github, talk about this release and other API related issues in our forum.



The post Support for Font FallBack and Prompt Text using Aspose.Slides for C++ appeared first on File Format APIs Blog – aspose.com.

Posted in Conholdate.Total Product Family, Aspose.Slides Product Family | Tagged | Leave a comment

Extract Data from Database Files using C#

Share on FacebookTweet about this on TwitterShare on LinkedIn

The database is considered to be an integral part of most of the applications. Be it a desktop, web or mobile application, database plays a vital role in storing, accessing and manipulating the data. There are many database management systems that allow creating and managing databases for you.

However, there could be a scenario when you need a way to extract data from database files, i.e. .db file, without installing a database management system or writing the SQL queries. How would you parse the database file in such a case and get the data from it?

In this article, I am going to demonstrate how easily you can extract the data from the tables in an SQLite database without writing SQL queries. I am going to use GroupDocs.Parser for .NET API which supports extracting data from databases via ADO.NET.

Steps to Extract Data from Tables in SQLite Database (.db)

1. Create a new project in Visual Studio.

2. Install GroupDocs.Parser for .NET from NuGet.

3. Add the following namespaces.

4. Prepare the connection string.

5. Load the database file in the Parser object.

6. Get list of the tables in the database using Parser.GetToc method.

7. Iterate over the tables and extract data.

Complete Code

Output

C# code to Extract Data from SQLite Database

Visit the documentation to explore more about GroupDocs.Parser for .NET API. You can download or clone the source code examples from GitHub repository. In case of any query, just post it on the forum.

The post Extract Data from Database Files using C# appeared first on Document Manipulation APIs Blog – groupdocs.com.

Posted in Conholdate.Total Product Family, Extract data from database, GroupDocs.Parser Product Family, GroupDocs.Parser for .NET, SQLite DB | Tagged , , , | Leave a comment