Insert Hyperlinks to Report using LINQ Reporting in Aspose.Words for .NET 19.10

Share on FacebookTweet about this on TwitterShare on LinkedIn

We at Aspose are honored to announce October release i.e. Aspose.Words for .NET 19.10. You can now download it and use in .NET applications. let’s check out what’s new for you in this release.

Insert Hyperlink Dynamically using LINQ Reporting Engine

We have added new feature in LINQ Reporting engine i.e. insert the hyperlink to your report document dynamically using link tags. Syntax of a link tag is defined as follows.

<<link [uri_or_bookmark_expression] [display_text_expression]>>

Please read the following article for more detail:
Inserting Hyperlinks Dynamically

Work with Document’s Text Direction

In this release, we have added new property DocumentDirection in TxtLoadOptions class to get or set the text direction (RTL / LTR) of text document. You can use DocumentDirection enumeration to set the value of this property.

Following code example shows how to detect text direction of document after importing TXT file.

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

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.

Posted in Aspose.Words Product Family | Leave a comment

Export Scene to HTML format with Aspose.3D API

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

We are pleased to announce September release of Aspose.3D API. It includes long awaited support for exporting a scene to HTML format. This feature will enhance the capabilities of your applications and make them truly compatible with many more platforms. Moreover, considering you at the center of our APIs, more control has been shifted towards you by exposing geometric transformation properties. It lets you evaluate global transform, with or without geometric transformation, based on your requirements. For further information, please check following demonstration in product documentation:

Moreover, along with the addition of several methods and classes; we have also added properties to scale, translate and rotate the entities. You may please visit Release Notes (Java) or Release Notes (.NET) for further information about this release. In case you have any question about Aspose.3D API, you can post your inquiry in Aspose.3D forums.

Aspose.3D for .NET and Java Resources

The following resources will help you work with Aspose.3D for .NET and Java APIs:

Posted in Aspose.3D Product Family | Leave a comment

Create, Modify VBA Macros using Aspose.Words for Android via Java 19.9 API

Share on FacebookTweet about this on TwitterShare on LinkedIn

Today, I will highlight the major features introduced in the Aspose.Words for Android via Java 19.9 release:

Create and Modify VBA Macros in Word Documents

The following code example demonstrates as to how to modify VBA Macros in Word document programmatically by using the VbaModule.setSourceCode() property of Aspose.Words for Android via Java API.

Create Repeating Section Content Controls in Word Document

The repeating section content control allows repeating the content contained within it. Using Aspose.Words for Android via Java, the structured document tag nodes of the repeating section and repeating section item types can be created and for this purpose, SdtType enumeration type provides REPEATING_SECTION_ITEM member. The following code example demonstrates how to Bind a Repeating Section Content Control in Word Document to a Table.

LINQ Reporting using XML, JSON, and CSV Data Sources

The LINQ Reporting engine of ‘Aspose.Words for Android via Java’ now enables you to reference business objects of your application in report templates. We have added XmlDataSource, JsonDataSource, and CsvDataSource classes in this release to use XML, JSON, and CSV as data sources to generate reports using LINQ Reporting. Please read the following articles for complete detail of this feature.

Link Custom Document Property to Bookmark

‘Aspose.Words for Android via Java’ API now provides a method CustomDocumentProperties.addLinkToContent(String, String) to create a new ‘linked to content’ custom document property which returns the newly created property object or null if the link source is invalid. The following code example demonstrates how to Configure the Link to a Content Custom Property.

See also Useful Links

Keeping the Aspose tradition, you are welcome to shape the upcoming releases of ‘Aspose.Words for Android via Java’ API by posting your suggestions and concerns in the Aspose.Words for Android via Java Support Forum.

Posted in Aspose.Words Product Family | Leave a comment

Convert PDF to HTML in .NET Desktop and Web Application using Aspose.PDF for for .NET

Share on FacebookTweet about this on TwitterShare on LinkedIn

PDF to HTML Conversion is widely and commonly used functionality which can be achieved through different means e.g. software, tools and online services. Sometimes you need to convert your PDF content in a way that it can be displayed in browser or become a part of your web application. PDF to HTML Conversion lets you achieve this requirement where PDF content renders with HTML tags with similar styling and formatting. Thanks to Aspose, you can implement the functionality now in your desktop or web application using Aspose.PDF for .NET. API allows you to convert your PDF documents into HTML using a few lines of code and not only this, it also lets you specify different formatting and styling options during conversion. Following section of the post will take you to the complete tour guide on how to use Aspose.PDF for .NET in order to convert PDF to HTML.

PDF to HTML Conversion

A simple PDF to HTML Conversion can take place by loading a PDF document and save it as HTML using HtmlSaveOptions. Following example shows not only conversion but specification of a requirement where you can save images as raster format:


The story doesn’t end here. Aspose.PDF for .NET offers massive and most demanding features which not only increases its usability but give you full control over the conversion process as per your desire. You can go through following outstanding and comprehensive articles in API documentation in order to understand the full feature set in this domain i.e. PDF to HTML:

In addition to the above features, Aspose.PDF for .NET 19.8 brings a new enhancement where you can save PDF to HTML with full content width. Let’s have a look on this new feature usage:

PDF to HTML with Full Content Width

Latest version of the API allows you converting PDF to HTML with full content width whereas HTML content is used to be left-aligned. The FlowLayoutParagraphFullWidth property of HtmlSaveOptions class lets you achieve this as shown in the following code sample.


Further Improvements and Useful Fixes

The usability factor of the API becomes stronger with the following list of useful improvements that API brings with it in v19.8:

  • Adding Table functionality is further rectified
  • Font substitution is further improved
  • Memory consumption during adding HTML in PDF is further improvised
  • PDF to Image conversion is improved
  • XML to PDF conversion is further improved
  • PDF to DOC/DOCX conversion is improved
  • Text adding and processing scenarios have further been improvised

We hope that we covered every aspect of PDF to HTML Conversion in above guide. However, in case you still have any inquiry, please feel free to let us know. Like always, do not miss a single update about Aspose APIs. We will be back soon with a new revision of API with exciting features.


Posted in Aspose.PDF Product Family, Asad Ali | Leave a comment

Controlled memory optimization support for loading images in Aspose.Imaging

Share on FacebookTweet about this on TwitterShare on LinkedIn

Hello readers, in this blog I would like to introduce you with new features included in Aspose.Imaging 19.10 especially support for controlled memory optimization techniques for loading images using API. Best thing about Aspose team is that it releases both .NET and Java based APIs simultaneously every month. This way both API user remain recurrent with changes being made in APIs every month.

In following sections, I am going to give you a walk through of what new features have been included in API.

Memory Optimization support to load Images

At times there is requirement to load huge images and you don’t have enough RAM available on machine. In such cases OutOfMemory exception is thrown on loading images. We have introduced the support for controlled memory specification in this new API. Now, you can have memory controlled limitation for loading image by specifying buffer size and it will guarantee that memory usage will be in those bounds. So, if you set memory optimization and your machine RAM memory is not enough, the image related operation will began to work using hard drive. It will guarantee that operation will be performed in such way without out of memory exception but it will take much time than using RAM. The controlled memory optimization techniques support has been provided for images like JPEG, CMX and PNG.

The following examples demonstrate use of memory optimization while loading CMX image using API.

The similar Java based implementation is like as under:

Likewise, the following examples demonstrate use of memory optimization while loading JPEG image using API.

The similar Java based implementation is like as under:

Performance improvements in API

As against previous API versions, we have tend to improve the API performance in many areas when performing different operations including:

  • Rendering to PDF has been improved
  • Issues related to SVG rendering have been addressed

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.

Posted in Aspose.Imaging Product Family | Leave a comment

Support for working with Layer Properties using Aspose.PSD

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.PSD for .NET logoHere comes new release of Aspose.PSD for .NET 19.9, which has been enriched with new features. This is a relatively new product and we tend to include new features regularly in almost every release. Like in this release, we have introduced support for working with Layer Properties for different layers in a PSD file. In following section, I will be giving you an overview of new features introduced in API.

Create Layer Group

In PSD files, you need to work with different layers. We have introduced the feature of creating layers group by adding layers in it and It helps to organize similar or related layers. For this purpose, a new method AddLayerGroup has been added in a PsdImage class to add the layer group.

The following code snippet shows how you can create layer Group in a PSD file.

Rename Layer

This time we have enhanced the capability of Aspose.PSD to allow renaming of layers in PSD files. This is a good utility as you can set a custom layer name as per your own understanding and future reference. For this purpose, a new property DisplayName has been added in Layer class to display a layer name properly. It has been observed that when Photoshop saves a layer name using the Name property, then Korean characters are stored as byte 63′?’ in ASCII. So, if you want to display a layer name properly then use the DisplayName property because the Name property does not support Korean characters.

The following code snippet shows you how to rename layer in a PSD file.

Support for Getting Text properties from Text layer

Working with text layer is one of day to day requirement when working with PSD files. Now, using Aspose.PSD for .NET, you can get and update the text properties of different portions of text available in PSD text layer. This article demonstrates how you can get Paragraphs, Styles and Textual properties of the text layer and update them.

The following code snippet shows you how get text properties from text layer in a PSD file.

Support of Scale Property for Gradient Fill Layer

When working with Gradient fill layers, scaling of gradient which ensure the size of the gradient is one of useful proeprties. Using Aspose.PSD for .NET. For this purpose, a new property Scale has been added in IGradientFillSettings. This article demonstrates how to scale FillLayer with gradient fill using Aspose.PSD for .NET.

Following is the code demonstration that shows how to use Scale property.

You can check the official product release notes for many other issues and enhancement carried out in product as well. 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.

Posted in Aspose.PSD Product Family | Leave a comment

Create OMR Template from Text Markup using Aspose.OMR for .NET

Share on FacebookTweet about this on TwitterShare on LinkedIn

An OMR Template is used to be compatible with the optical mark recognition software or API that you are using before it is printed. Designing a custom OMR Template allows your OMR Sheets to look better or they can be created in a way that they will look the same. Aspose.OMR for .NET is an API that can be used in .NET Applications and with its latest release, it allows you to create OMR template from Text Markup. Yes, generating surveys and test sheets from simple text markup is now achievable using the API. Thanks to Aspose and Congratulations to the Users that they can now get their personal test sheets. In the following section, you will be having insights into how to create OMR Template from Text Markup using Aspose.OMR for .NET 19.7. Without waiting so much, let’s dive then.

Create OMR Template

Aspose.OMR for .NET provides the option to create OMR template (.omr) files and images by using simple text markup. OmrEngine.GenerateTemplate method that takes the path of the markup text file as a parameter, returns a GenerationResult object which contains the template image and the template (JSON that describes elements location on the image).

You can further check following simple text markup which can be used to create OMR template using the API:

?text=Name__________________________________ Date____________

?grid=ID
sections_count=8
#What is Aspose.OMR main function?
() OCR () Capture human-marked data
() There is no main function () Enhance images
#Can Aspose.OMR process photos as well?
() Yes, indeed! () No
#Aspose.OMR is available on any platform, because it is:
() Cross-platform code () Cloud service
#Aspose.OMR works with any kind of OMR forms: tests, exams, questionnaires, surveys, etc.
() Yes, indeed! () No
#Excellent recognition results can be achieved only for filled bubbles at least for:
() 40% () 60% () 75% () 98%
#Do you have to mark up every question on the page?
(Yes) Yes, that will help a lot! (No) No
#Rate your preference from 0 to 9 with "0" being preference towards performance
and "9" being preference towards flexibility.
(0) (1) (2) (3) (4) (5) (6) (7) (8) (9)
#I found aspose omr to be a useful tool. (5 - strongly agree, 1 - strongly disagree)
(5) (4) (3) (2) (1)

?text= Answer sheet section
?answer_sheet=MainQuestions
elements_count=10
columns_count=5

?text=Sign________________________________

Following code snippet can be used to process the above sample text markup to generate the OMR template file and the image of the sheet.


When you are done with the processing of text markup, you will receive the following image generated at your end:

Please note that you cannot test this functionality while using the trial version of the API. You must use a valid license in order to create OMR Template. You can also apply 30-days free temporary license to test and evaluate the API without any trial version limitations.

Improvements and API Changes

In addition to the above introduced feature, some improvements have also been made regarding image processing. Some API changes are also included in the release since there has been a new functionality introduced.

We strongly recommend you to check release notes page of the API for further details about the release and you are always encouraged to ask about API in our public forums. We will be back soon with more updates regarding revisions of the API and don’t forget to subscribe so that you will not miss any post.

Posted in Aspose.OMR Product Family, Asad Ali | Leave a comment

Perform OMR Operations using Aspose.OMR for Java

Share on FacebookTweet about this on TwitterShare on LinkedIn

Aspose.OMR has been available for .NET Platform and receiving appreciation since its first release. We are honored to announce its upcoming release for Java Platforms. Aspose.OMR for Java is on its way to get released with exciting set of features which will let Java developers to implement OMR functionality in their applications. Now you can enable your Java applications to read questionnaires, bubble sheets, multiple-choice answer sheets or any survey programmatically. Let’s have a sneak peak into first version availability time and features it will be offering.

Initial Features in Aspose.OMR for Java

Aspose.OMR for Java will be released with basic features set which is already part of .NET API. Following list summarizes all the features it will be serving its users with:

  • Recognition of scanned images and photos
  • Ability to process rotated and perspective (side viewed) images
  • Recognize data from tests, exams, questionnaires, surveys, etc.
  • High accuracy rate
  • GUI for correcting complex cases
  • Export the results to CSV file format

First Version Availability

With great efforts, Aspose.OMR for Java is now at the final stage of getting released publicly. We will be very happy to announce its first release and see you soon with an update blog. Keep yourself in touch with us by subscribing to our blog and feel free to let us know about your queries via our forums.

Posted in Aspose.OMR Product Family, Asad Ali | Leave a comment

Support For Managing Paragraph with Custom Numbered List

Share on FacebookTweet about this on TwitterShare on LinkedIn

Here comes new release of Aspose.Slides 19.9 for .NET and Java, which has been enriched with new features. It can now support managing paragraphs with custom numbered list. For this purpose, NumberedBulletStartWith property has been introduced in IBulletFormat. 

In order to add a custom number list inside a paragraph, you first need to access the slide and add an auto shape. Then, you have to access the respective TextFrame of the shape and remove the default paragraph in that. You then need to create a new paragraph instance using Paragraph class and set NumberedBulletStartWith to 2 and second paragraph instance and set NumberedBulletStartWith 3.

The following code sample shows how to set Paragraph with custom numbered list.

The similar Java based example for this is:

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.

Posted in Aspose.Slides Product Family | Leave a comment

Support For Managing Paragraph with Custom Numbered List using Aspose.Slides CPP

Share on FacebookTweet about this on TwitterShare on LinkedIn

Here we have a new release of Aspose.Slides 19.9 for CPP, which has been enriched with new features. It can now support managing paragraph with custom numbered list. For this purpose, NumberedBulletStartWith property has been added to IBulletFormat. 

In order to add a custom number list inside a paragraph, you first need to access the slide and add an auto shape. Then, you have to access the respective TextFrame of the shape and remove the default paragraph in that. Then create the first paragraph instance using Paragraph class and set NumberedBulletStartWith to 2 and second paragraph instance and set NumberedBulletStartWith 3.

The following code sample shows how to set Paragraph with custom numbered list.

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.

Posted in Aspose.Slides Product Family | Leave a comment