Support of OpenType Fonts and Kerning Feature, Detect SmartArt Shape, Restart List Number using LINQ Reporting, Dealing with Linked Textboxes, and Basic Reader and Writer for Markdown

Share on FacebookTweet about this on TwitterShare on LinkedIn
Aspose.Words for .NET logo

Hi guys! We are gratified to announce the new version of Aspose.Words for .NET i.e. 19.7. You will be happy to know that we have added interesting features in this release e.g. restart list number using LINQ Reporting, working with linked textboxes, detect SmartArt in Word document etc. This release is available for download and to be used where .NET is installed.

Download Aspose.Words for .NET 19.7

Let’s check out what are the new features and how they work.

Support of OpenType Fonts and Kerning Feature

OpenType is a font format for scalable computer fonts and introduced to provide better support for languages and writing systems as compared to PostScript and TrueType. We have added TextShaperFactory property in LayoutOptions class. This property is used to get or set ITextShaperFactory implementation used for Advanced Typography rendering features.

How does this feature work? It’s very simple. Please check the code example and detail in the following article.

How to Use OpenType Features

Detect SmartArt Shape

Starting from this release, you can detect the SmartArt shape in the Word document. You need to simply use the Shape.HasSmartArt property. This property returns true if this Shape has a SmartArt object. Sounds good?

Restart List Numbering using LINQ Reporting

With LINQ Reporting Engine, you can build reports using an extended set of reporting features. You can create lists using LINQ Reporting. In some cases, it is needed to restart the list numbers. Now, you can achieve it using Aspose.Words. We have added this exciting feature in this release.

How does it work? It is well explained in the following article. Please read it.

Restarting List Numbering Dynamically

How awesome is that? I hope you have liked it.

Dealing With Linked Textboxes

This is another amazing feature that has been added in this release. Now, you can create link between textboxes, check linked textboxes sequence, and break the link between them. We have added IsValidLinkTarget, Next, Previous, BreakForwardLink, and Parent properties in TextBox class. For more detail, please read the following article.

Working with Linked TextBoxes

Keep reading…

Work with Revision Group

A new property Revision.Group has been added in this release to get the revision group. It is used to get detail if the revision belongs to any group. For more detail and code example, please read the following article.

Revision Group Details

Implemented Basic Reader and Writer for Markdown Features

Markdown is a simple way to format plain text that can easily be converted to HTML. In this release we have added support of headings, block quotes, horizontal rules, bold emphasis, and italic emphasis Markdown features. For complete detail, please read the following article.

Working with Markdown Features

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

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

The post Support of OpenType Fonts and Kerning Feature, Detect SmartArt Shape, Restart List Number using LINQ Reporting, Dealing with Linked Textboxes, and Basic Reader and Writer for Markdown appeared first on File Format APIs Blog – aspose.com.

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

Viewing CAD Documents

Share on FacebookTweet about this on TwitterShare on LinkedIn

CAD (Computer-Aided Design) files may contain 2D or 3D designs. They are generated by CAD software programs, which can be used to create models or architectural plans. 2D CAD files are often referred to as drawings, while 3D files are often called models, parts, or assemblies.

The AutoCAD is arguably the most prevalent CAD software on the market. It’s used by professionals and hobbyists alike. If you work with CAD, you’re likely to already be familiar with some of AutoCAD’s most common file formats, such as DWG and DXF

Render the CAD Files using GroupDocs.Viewer

The CAD file formats such as .dwg, .dgn, .dxf, .dwf, .ifc and .stl are also included in the wide range of GroupDocs.Viewer API’s supported file formats

Let’s pick a .dwg file and discuss some of the cases to view the using GroupDocs.Viewer API.

When CAD documents are rendered, the size of the rendering result is adjusted by API automatically depending on the size of the initial document.

You can also adjust the size of the resulting document by setting CadOptions in the following way.

  • Create ViewerHandler
  • Create ImageOptions
  • Set ImageOptions.CadOptions.Heightand ImageOptions.CadOptions.Width properties
  • Call GetPages

The Following code sample demonstrates it.

Java guys will write the code like below:

Rendering CAD Model along with Layouts

Representation of a CAD File with non-empty layouts

When CAD documents are rendered, by default we get only Model representation. In order to render Model and all non-empty Layouts within CAD document, the property CadOptions.RenderLayouts of ImageOptions and HtmlOptions is used.

Following are the steps to render all the non-empty layouts along with the Model.

  • Create HtmlOptions/ImageOptions 
  • Set CadOptions.RenderLayouts of HtmlOptions/ImageOptions to true
  • Call GetPages

The following code sample shows how to render layouts along with the Model of a CAD document.

Java guys will write the code like below:

Working with Layers

Using layers in CAD documents is a way of organizing objects in the drawing by associating them with a specific function or a purpose. For example, when we have a complex drawing of the building, all objects can be divided (associated) into several layers – e.g. electrical, water plumbing, furniture, walls and so on. According to your needs, you can temporarily hide or show some of the objects by turning off their layers. GroupDocs.Viewer allows you to get the list of layers from the drawing and supports rendering specified layers.

Getting List of Layers

The following are the steps to get the list of layer names from a CAD document.

  • Create ViewerHandler (ViewerHtmlHandler or ViewerImageHandler)
  • Get document’s information in DocumentInfoContainer object using GetDocumentInfo method
  • Cast the DocumentInfoContainer object returned by GetDocumentInfo with CadDocumentInfoContainer
  • Access each layer using CadDocumentInfoContainer.Layers collection

The following code sample shows how to get the list of the layers in a CAD document.

Java guys will write the code like below:

Rendering Specific Layers

After you have got the list of layers contained in the drawing, you can specify those that you want to render by adding layer names into the CadOptions.Layers property of corresponding RenderOptions (ImageOptions or HtmlOptions). Please note, when you do not specify layers, all layers are rendered. 

The following code sample shows how to render a specific layer of a CAD document.

Java guys will write the code like below:

The complete ready to run code sample is available on GitHub.

The post Viewing CAD Documents appeared first on Document Manipulation APIs Blog – groupdocs.com.

Posted in Conholdate.Total Product Family, AutoCAD, Computer Aided Design, GroupDocs.Viewer Product Family, GroupDocs.Viewer for .NET, GroupDocs.Viewer for Java, dwf, dwg, dxf, ifc, renderer, stl, viewer | Tagged , , , , , , , , , , , | Leave a comment

Retrieve Count of Credits Consumed In GroupDocs.Conversion for .NET

Share on FacebookTweet about this on TwitterShare on LinkedIn

As you know that API already supports metered licensing.
Can we get count of credits consumed?
Yes, we have a good news for you. There is a new method GetConsumptionCredit() implemented in Metered class. This method returns count of credits that are consumed in case of Metered licensing is used.
https://gist.github.com/11ed47d2b812b551d2b16dc227bed5da”>Gist.Following example demonstrates how to retrieve count of credits consumed.
View the code on <a href="https://gist.github.com/e84246d14ae0888bd537cb06ca80b198

Let’s talk about the new file formats introduced. Most of you might be working with XLAM, an Excel Macro-Enabled Add-In file format. We have added support for this format in GroupDocs.Conversion for .NET 19.6 release. You can now do back and forth conversion to XLAM. This is not it. Conversion from following file extensions to any other supported file format is now possible:

  • MPX
  • JPC
  • DWT
  • JPEF-LS (JIS)

We’ve also improved Diagram to Word conversion.
Moreover, converting a PowerPoint document with black SmartArt text to PDF issue is resolved. Previously, SmartArt text in the resultant document was changed to white text.

With all such features and improvements, why wait to give it a try? Download latest release from here and share your feedback/concerns on our forum.

The post Retrieve Count of Credits Consumed In GroupDocs.Conversion for .NET appeared first on Document Manipulation APIs Blog – groupdocs.com.

Posted in Conholdate.Total Product Family, GroupDocs.Conversion Product Family, GroupDocs.Conversion for .NET | Tagged , | Leave a comment

Enhancements for DataMatrix barcode using Aspose.BarCode 19.5

Share on FacebookTweet about this on TwitterShare on LinkedIn

Here comes the new release Aspose.BarCode 19.5 for Java and .NET containing a lot of enhancements. This time we have targetted the DataMatrix barcode reading and IMB barcode recognition. For detailed information about the enhancements in this release follow the release notes for Java and .NET. Let us have a look at what is new there in this release.

Enhancements in this release

As usual we have put lot of effort for bringing our product to exceed the customer satisfaction. There were few shortcomings which were observed while working with the library. Enhancements are done to tackle all these shortcomings and new version is far better for handling these situations.

Issues while reading the DataMatrix barcode

Reading a barcode is quite tricky and sometimes the minutest dots can result into wrong values. Similarly we observed issues in reading the DataMatrix barcode from a 200 DPI TIFF image. This issue was investigated in detail and all the issues are handled now as follows:

  • We have supported the recognition if invasion in the quite zones of data matrix.
  • Resolved the issues incurred due to low scanner resolution which produces lot of errors.
  • Effort is made to recognise black dots around the barcode.
  • Irregular grids were also causing issues. We have identified them and these are no more an issue now.
  • There were some problems in the bits in the data matrix recognition which is sorted out and results are amazing now.

Barcode not recognized on low-resolution TIFF

This is very common that we come across barcodes in tiff formats which have very low resolutions. In this case sometimes we may get garbled data out of these barcodes. An indepth investigation is done in this regard and a new public property AllowOneDWipedBarsRestoration has been added to the QualitySettings. It allows engine for 1D barcodes to recognize barcodes with single wiped/glued bars in pattern. Property is enabled by default in HighQuality, MaxBarCodes modes. Currently the property is used for Code128, GS1Code128, SCC14, EAN14, SSCC18, AustralianPosteParcel, SwissPostParcel barcode types. To use this feature, just set this property to true while reading the barcode from TIFF image as follows:

reader.QualitySettings.AllowOneDWipedBarsRestoration = true;

Other enhancements

  • IMB barcodes were failing sometimes to be recognized. Enhancements are done to overcome this issue.
  • There was a need to enhance the recognition capability in .NET Core environment, which is also done successfully.

Aspose.BarCode for Java/.NET Resources

You may visit following links for documentation, source code, API reference and other details of this product.

Similarly, for downloading this version using NuGet package manager visit here and for Java user it is available on Maven also.

The post Enhancements for DataMatrix barcode using Aspose.BarCode 19.5 appeared first on File Format APIs Blog – aspose.com.

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