Work with Exchange Server 2016 using Aspose.Email for Java 17.8

aspose-email-for-javaAspose.Email for Java 17.8 has been published. Ported from its equivalent .NET version, this month’s release includes the same enhancements and improvements. Specifically, it provides complete support for working with Microsoft Exchange Server 2016 using EWS. It also supports conversion of email messages to HTML without embedding message resources in output file. For a complete list of all the changes included in this version, please visit the release notes section of Aspose.Email for Java API documentation.

Major Features

Support for Microsoft Exchange Server 2016: We are glad to share that Aspose.Email for Java API now provides complete support for working with Microsoft Exchange Server 2016 using its EWS client. This was earlier limited by certain features where the API didn’t support the functionality completely. With this month’s release, you can now get benefit of working with all the functionality of Exchange Server 2016.

Conversion of Messages without Embedding Resources in Output: Aspose.Email for Java API lets you convert messages to HTML. This month’s version further enhances this functionality by saving message resources (attachments, inline images, etc.) to user defined destination. This allows to save the message resources without embedding into the output html file. This is as illustrated in the following code sample.

MailMessage eml = MailMessage.load(fileName);

//final String outDir = "out path";
String outFileName = "EmailWithAttandEmbedded_out.html";

HtmlSaveOptions options = new HtmlSaveOptions();
options.setEmbedResources(false);
options.setSaveResourceHandler(new SaveResourceHandler() {
    
    @Override
    public void invoke(AttachmentBase attachment, String[] resourcePath) {
    	String dataDir = Utils.getSharedDataDir(ConvertEmailMessages.class) + "email/";
        attachment.save(attachment.getContentId());
        resourcePath[0] = attachment.getContentId();
    }
});

eml.save(dataDir + outFileName, options);

API Resources

We have detailed information available online for getting started with the Aspose.Email for Java API. These are:

Posted in Aspose.Email Product Family | Leave a comment

Exchange Server 2016 Supported with Aspose.Email for .NET 17.8

aspose-email-for-.NETWe are pleased to announce the release of Aspose.Email for .NET 17.8. With this month’s release, the API now provides complete support for Microsoft Exchange Server 2016. It also includes enhancements to the API functionality for converting messages to HTML. For a complete note on what is new and fixed, please visit the release notes section of Aspose.Email for .NET documentation.

Enhancements

Support for Exchange Server 2016: With the release of Microsoft Exchange Server 2016, we started providing support for this latest Exchange server in our API. This included resolution of issues that were found with this version of Exchange server. We are pleased to share that Aspose.Email for .NET API now completely supports Exchange Server 2016 using the EWS client. Please visit our documentation section, working with Exchange Server using EWS, for complete list of supported features by the API.

Conversion of Messages to HTML without Embedded Resources: This month’s release also includes enhancement to the API functionality of converting messages to HTML. This is achieved using SaveResourceHandler of HtmlSaveOptions class which specifies the destination for saving resources, as shown in following code sample.

var fileName = "EmailWithAttandEmbedded.eml";
var filePath = Path.Combine(dataDir, fileName);

MailMessage msg = MailMessage.Load(filePath);
var outFileName = Path.Combine(dataDir, fileName + ".html");

var options = new HtmlSaveOptions()
{
    EmbedResources = false,
    SaveResourceHandler =
        (AttachmentBase attachment, out string resourcePath) =>
        {
            attachment.Save(Path.Combine(dataDir, attachment.ContentId));
            resourcePath = Path.Combine(".", attachment.ContentId);
        }
};

msg.Save(outFileName, options);

Other Improvements

We have also fixed several bugs reported by our valued customers that further improves the overall API functionality in terms of expected output.

API Resources

The following API resources can be of help to you in getting started with Aspose.Email API.

Posted in Aspose.Email Product Family | Leave a comment

Find Minimum Required Hight And Width for A BarCode Image With Aspose.BarCode for SSRS 17.7

Aspose.BarCode for SSRS We are pleased to announce the release of Aspose.BarCode for Reporting Services 17.7. The major development in this release is the functionality to get the minimun size (height & width) required for the barcode image. Improved functionality of GetOnlyBarCodeImage method has also been incorporated in this release.

Get Minimum BarCode Size

Aspose.BarCode for Reporting Services now enables its users to get the minimum height & width required for a barcode image to be generated. How a developer can get the minimum size (height & width) is very simple and is demonstrated in the code snippet given below. The code snippet contains comments that makes it self explanatory.



// Create an instance of BarCodeBuilder class
// Set barcode text
// Set encoding type
using (Aspose.BarCode.BarCodeBuilder builder = new Aspose.BarCode.BarCodeBuilder("1234567890", Aspose.BarCode.Generation.EncodeTypes.Code128))
{
    // Set graphic unit
    builder.GraphicsUnit = System.Drawing.GraphicsUnit.Pixel;

    // Call GetMinimumBarCodeSize method to get the minimum size required
    System.Drawing.SizeF minSize = builder.GetMinimumBarCodeSize();

    // Set Auto size to false
    builder.AutoSize = false;

    // Set image height & width with the help of min size got from GetMinimumBarCodeSize method
    builder.ImageWidth = minSize.Width;
    builder.ImageHeight = minSize.Height;

    // Save the barcode image
    using (System.Drawing.Bitmap image = builder.BarCodeImage)
        image.Save("minimumresult.png");
}

Enhancements

Following issues have been fixed in this release.

  • Functionality of GetOnlyBarCodeImage method has been improved. The working of GetOnlyBarCodeImage method with small size has been enhanced.

To view the complete list of new features and fixes, please visit the release notes page. You can download the latest version by visiting the Aspose.BarCode for Reporting Services 17.7 page in downloads section.

Aspose.BarCode for Reporting Services Resources

The following resources will help you work with Aspose.BarCode for SSRS:

Posted in Aspose.BarCode Product Family | Leave a comment

Support for adding SVG script to Presentations in Aspose.Slides for Cloud 17.7

We are pleased to announce the release of Aspose.Slides for Cloud 17.7.

This new release adds support for adding SVG images to Slides. Please check Aspose.Slides for Cloud 17.7 Release Notes for summarised information about all changes in this release.

New Features and Enhancements

  1. Possibility to add SVG graphics to slide
  2. It is now possible to add an SVG script to a presentation. This SVG script will be converted to EMF (Metafile vector image) supported by all presentation formats. You can read more on Add SVG Image to Slide

  3. Bug Fixes and Enhancements
  4. Aspose.Slides for Cloud 17.7 also has the following bug fixes :

    • Resolution of exception raised while deleting slide by Index

  5. Other Enhancements
  6. Aspose.Slides for Cloud 17.7 is now built ontop Aspose.Slides for .NET 17.7 features

  7. Public API Changes
    • An optional slides parameter is added to Slides DELETE resource. It specifies indices of slides (comma separated) that need to be deleted with the presentation.
    • SvgData string property is added to PictureFill type. It represents an SVG image to be used in operations for update background, shape fill or create picture.

Aspose for Cloud Resources

Following are the links to some useful resources you may need to accomplish your tasks.

Posted in Aspose.Slides Product Family | Leave a comment

Aspose.Email for iOS via Xamarin is Available Now!

Aspose.Email for iOS via XamarinAfter the successful launch of Aspose.Email for Android via Xamarin, we are now pleased to announce the launch of Aspose.Email for iOS via Xamarin. This not only expands Aspose.Email Product family, but also adds to the list of APIs that allow application developers create powerful emailing applications with Xamarin framework.

Power of Aspose.Email for .NET now available for Mobile Platforms

Aspose.Email for iOS via Xamarin is powered by Aspose.Email for .NET at its back. Known for its ease of use, stability and excellent performance as compared to its market competitors, Aspose.Email for .NET has been in the field for quite long time now. As a result, the same attributes are auto-associated with this new API as well. iOS developers can get started with these powerful inherited characteristics of the API in their emailing applications right from the start.

Getting Started with Aspose.Email for iOS via Xamarin

Getting started with Aspose.Email for iOS via Xamarin is very easy. The API is available in the form of DLL for download from API’s download section as well as through Nuget. Once you setup Xamarin environment with Microsoft Visual Studio, include reference to the API DLL in your application and you are ready to create stunning emailing applications with the API.

API Features

Aspose.Email for iOS via Xamarin contains almost all the features as are supported by Aspose.Email for .NET with some differences. These features include:

  • Working with several popular message formats including EML, EMLx, and Outlook MSG file format
  • Work with and manipulate Outlook MSG properties
  • Inter conversion between message formats
  • Working with Outlook Calendar, Contacts, Notes and Tasks items
  • Support for Outlook PST and OST storage files
  • Complete support for SMTP, POP3 and IMAP protocols for sending and receiving emails
  • Support for Exchange server protocols including WebDav and EWS
  • Ability to work with MBox storage files

Documentation and API Reference Guide

Aspose.Email for iOS via Xamarin exhibits the same features set as the Aspose.Email for .NET API. For this reason, we will use Aspose.Email for .NET documentation and API Reference guide for this API as well. The .NET API documentation can be referenced for code samples and guidelines other than exceptions listed in following section.

Limitations

As mentioned earlier, the API contains almost all the features offered by Aspose.Email for .NET. However, there are certain limitations a well. For example:

  • The API doesn’t have any printing features for exporting the messages to TIFF or XPS format
  • ActiveSync client is not available in the API
  • You cannot embed linked images into message body in both RTF as well as HTML format
  • It also has no functionality of Signing or Encrypting/Decrypting messages

These limitations and work around methods (where applicable) are listed in API limitations page for Aspose.Email for iOS via Xamarin.

Got Questions?

Feel free to reach us via Aspose.Email forum. We’ will be glad to address your concerns and assist you with any of your query.

Posted in Aspose.Email Product Family | Leave a comment

Ability to Get Minimum Height And Width For A Barcode Image With Aspose.BarCode for Java 17.7

Aspose.BarCode for Java We are pleased to announce the release of Aspose.Barcode for Java 17.7. The major development in this release is the support to get the minimum height & width required for a barcode image. Functionality of GetOnlyBarCodeImage method has also been improved in this release.

Find Out Minimum BarCode Height & Width

Aspose.BarCode now supports the functionality to get the minimum height & width required for a barcode image to be generated. How to know the minimum required size (height & width) for a barcode image is very simple and is demonstrated in the code snippet given below.



// Create an instance of BarCodeBuilder class
// Set barcode text
// Set encoding type
com.aspose.barcode.BarCodeBuilder builder = 
        new com.aspose.barcode.BarCodeBuilder("1234567890", com.aspose.barcode.EncodeTypes.CODE_128);

// Set graphic unit
builder.setGraphicsUnit(com.aspose.barcode.GraphicsUnit.Pixel);

// Call GetMinimumBarCodeSize method to get the minimum size required

java.awt.geom.Dimension2D minSize = builder.getMinimumBarCodeSize();

// Set Auto size to false
builder.setAutoSize(false);

// Set image height & width with the help of min size got from GetMinimumBarCodeSize method
builder.setImageWidth((float) minSize.getWidth());
builder.setImageHeight((float)minSize.getHeight());

// Save the barcode image
javax.imageio.ImageIO.write( builder.getBarCodeImage(), "PNG", new java.io.File("minimumresult.png") );

Enhancements

Complete list of enhancements in this release is as follows.

  • Functionality to print barcode has been improved. The working has been enhanced in such a way that barcode lines are now smooth when printing the barcode on a label printer.
  • Functionality of GetOnlyBarCodeImage method has been improved. The working of GetOnlyBarCodeImage method with small size has been enhanced.

To view a complete list of new features, fixes and to download the latest release, please visit Aspose.Barcode for Java 17.7 page in downloads section.

Aspose.BarCode for Java Resources

The following API resources can be of help to you in getting started with Aspose.BarCode:

Posted in Aspose.BarCode Product Family | Leave a comment

Aspose.Html for Java to Create Manipulate and Transform HTML files

Aspose.Html for Java Logo

In the month of July-2017, we have published Aspose.Html for .NET which offers the capabilities to create as well as manipulate HTML documents in .NET based applications. In order to provide similar features for our customers developing applications on Java platform, we are going to port the features of current Aspose.Html for .NET to a new sibling, Aspose.Html for Java. The earlier released Aspose.Html for .NET is a .NET component built to enable developers to programmatically create and manipulate HTML documents, whether simple or complex and on the fly and now all of these features will become available in Aspose.Html for Java. Furthermore, the Aspose.Html for Java allows developers to Insert, Remove, Replace HTML nodes, extract CSS style information, Navigate through HTML document either by Elements, Document, XPath or CSS selector queries. This new API will also offer the scripting which allows the manipulation of HTML DOM via JavaScript. Nevertheless, this API will also provide the capabilities to load EPUB or MHTML files to perform variant operations.

HTML rendering to other file formats

Aspose is among the pioneers to provide the file format manipulation capabilities and our APIs are widely known for their inter file format conversion features. So keeping the tradition alive, this new API will also provide the capabilities to load HTML file and render the output in PDF, XPS and raster image formats including JPEG, PNG, BMP and TIFF. Apart from simple conversion to PDF format, you may also consider encrypting the resultant document or specify the page setup information for resultant output. You also get the leverage to specify the compression value for JPEG images in resultant file.

A light weight HTML creation JAVA API

Aspose.Html is a simple Application Programming Interface (API) that is easy to learn and use. This API is implemented using Java platform and it can be used in any Java based application. This API can be easily integrated with any kind of application either it is a JSP Web Application or a conventional Desktop Application. After the release of first version, we will be providing fully featured demos and working examples, developed using Java language. These demos will surely help our customers/developers to quickly learn and use the features provided by Aspose.Html for Java. However as a jump start, we will be providing a Programmers Guide in our documentation section which can help our customers to learn and start using the API.

The API is a fast, lightweight component with a target to efficiently create and manipulate HTML documents. We are sure this API will become your first choice when it comes to HTML files creation as well as manipulation because of its price, superb performance and great support. Aspose.Html for Java is also multi-thread safe; as long as only one thread works on a single document at a time as it is a usual scenario to have one thread working on one document. Please note that different threads can safely work on different documents at the same time.

Features List

Aspose.Html for Java API mimics the behavior of a headless browser and offers following features.

    • Creating or opening an existing HTML document from different sources
    • HTML Manipulation: creating, editing, removing and replacing HTML nodes via API
    • Extracting CSS styles for particular HTML node
    • Configuring a document sandbox that affects the processing of HTML documents i.e. CSS styles in some cases are dependent on screen size and we allow to configure environment independently of an execution machine (as per W3 specifications)
    • Navigation through HTML document in different ways
      1. Using Element Level Traversal
      2. Using Document Traversal
      3. Using XPath queries
      4. Using CSS Selector queries

  • Scripting that allows to manipulate HTML DOM via JavaScript
  • Converting HTML document into various supported formats: JPEG, PNG, BMP, TIFF
  • Converting (X)HTML and similar formats, such as ePub and MHTML to above supported formats

Last but not the least, the API is planned to release within current month and as soon as it becomes available, we will announce it through another Blog post. the customers will also be notified through monthly newsletter. As per our standard cataloging mechanism, it will also become part of Aspose.Total for Java and Aspose.Html product family packages.

Posted in Nayyer Shahbaz, Aspose.Html Product Family | Leave a comment

Ability to Find Out Minimum Height And Width For A Barcode Image With Aspose.BarCode for .NET 17.7

Aspose.Barcode for .NET We are pleased to announce the release of Aspose.Barcode for .NET 17.7. The major development in this release is the support to get minimum barcode image size. Improved functionality of GetOnlyBarCodeImage method has also been incorporated in this release.

Get Minimum BarCode Size

Aspose.BarCode now supports the functionality to get the minimum height & width required for a barcode image. How a developer can get the minimum size (height & width) required for a barcode image is very simple and is demonstrated in the code snippet given below. The code snippet contains comments that makes it self explanatory.



// Create an instance of BarCodeBuilder class
// Set barcode text
// Set encoding type
using (Aspose.BarCode.BarCodeBuilder builder = new Aspose.BarCode.BarCodeBuilder("1234567890", Aspose.BarCode.Generation.EncodeTypes.Code128))
{
    // Set graphic unit
    builder.GraphicsUnit = System.Drawing.GraphicsUnit.Pixel;

    // Call GetMinimumBarCodeSize method to get the minimum size required
    System.Drawing.SizeF minSize = builder.GetMinimumBarCodeSize();

    // Set Auto size to false
    builder.AutoSize = false;

    // Set image height & width with the help of min size got from GetMinimumBarCodeSize method
    builder.ImageWidth = minSize.Width;
    builder.ImageHeight = minSize.Height;

    // Save the barcode image
    using (System.Drawing.Bitmap image = builder.BarCodeImage)
        image.Save("minimumresult.png");
}

Enhancements

This month’s release also includes enhancements. Details about the enhancements are listed below.

  • Functionality of GetOnlyBarCodeImage method has been improved. The working of GetOnlyBarCodeImage method with small size has been enhanced.

To view a complete list of new features and fixes, please visit the release notes page. You can download the latest version by visiting the Aspose.Barcode for .NET 17.7 page in downloads section.

Aspose.BarCode for .NET Resources

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

Posted in Aspose.BarCode Product Family | Leave a comment

Support for improved SmartArt and BLOB support in Aspose.Slides for Java 17.7

We like to share the releases announcement for Aspose.Slides for Java 17.7. This is one of important releases where we have included support for some important API features.

Features

Following features have been introduced in this release.

Enhancements

Following enhancements and issues have been fixed in this release.

  • Resolution of rendering of chart elements related issues in exported PDF or images.

  • Resolution of improper images, text, font height, font boldness and missing shadows effects in exported PDF, SVG and thumbnails.

  • Exception while setting Frame settings for shape of SmartArtNode.

  • Image replacement doesn’t work if jpeg picture is passed.

  • Fixed Out of Memory Exception thrown on loading huge presentations and Improving memory consumption.

  • Resolution of missing Arrow lines issue in exported PDF.

  • Font substitution does not work when converting PPTX to PNG.

  • Resolution of exceptions while loading and saving presentation files.

  • Resolution of wrong coordinates issue returning for paragraph position.

  • Fixed missing slide comments issue in exported PDF.

Please refer to the release notes of Aspose.Slides for Java 17.7 for a full view of improvements along with sample code snippets for newly added features. If you are planning to upgrade the API to the latest revision, we strongly suggest you to check the Release Notes section to know what has been changed in the public API since your current version.

Aspose.Slides for Java Resources

The resources, you may need to accomplish your tasks:

As always we appreciate your feedback so if you ever have anything to tell us about this release or anything else, please head to the Aspose.Slides forum for a chat.

Posted in Aspose.Slides Product Family | Leave a comment

Support for improved rendering and BLOB data in Aspose.Slides for Reporting Services 17.7

Aspose.Slides for SSRS iconWe like to share the release announcement for Aspose.Slides for Reporting Services 17.7.

This release has been developed based on Aspose.Slides for .NET 17.7. Aspose.Slides for .NET 17.7 has some new features including support for exporting presentation to HTML, PDF and slide thumbnails. Moreover, some new features including support for adding BLOB data in the form of videos, audios and images in presentation. The support for inserting SVG inside presentation slides has also been included. The improved rendering support in Aspose.Slides for .NET will achieve better rendering of SQL Server reports when exporting to PowerPoint or other formats using Aspose.Slides for Reporting Services.

We have made several enhancements to the new API. Please refer to Aspose.Slides for Reporting Services 17.7 Release Notes for further reference.

To view a complete list of fixes and to download Aspose.Slides for Reporting Services 17.7, please visit the download section.

Posted in Aspose.Slides Product Family | Leave a comment