Aspose Supports the Queensland Global DevOps Bootcamp

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn



Queensland Global DevOps Bootcamp Groups
is the latest event 
we are sponsoring.  If you are in the area we encourage you to take a look.

Global DevOps Bootcamp is a global event that will be held on Saturday June 16th and is all about DevOps on the Microsoft Stack. Centrally organized by Xpirit and Solidify and provided in Queensland by the QLD ALM Users Group. During this 1-day event Microsoft) DevOps communities all around the world will join to talk, learn and play with DevOps concepts.

What’s in Store?

Goals of the GlobalDevOpsBootcamp:

  • DevOps in general
  • Insights into where we are heading when it comes to DevOps and new technologies
  • Get people’s hands dirty and let them play with all the good Microsoft DevOps stuff

This time the event is all about DevOps and improving release cadence. It will help attendees understand the latest DevOps trends and insights in modern technologies that enable releases multiple times per day. It is an amazing combination between getting hands dirty and sharing experience and knowledge around VSTS, Azure, DevOps with other community members.

Who?

This year’s theme will be ‘From one release per month to multiple releases a day’. They will kick off with an introduction of a well-known authority in the DevOps space, followed by a keynote from the local partner about where we are heading with DevOps.

When and Where?

  • Sat, June 16, 2018 10:00 AM to 5:00 PM (AEST)

  • Microsoft Brisbane Office  Level 28, 400 George Street  Brisbane, Queensland 4000 Australia

For more information, check out https://www.eventbrite.com/e/global-devops-bootcamp-2018-qld-alm-users-group-tickets-42209715395

###END###

About Aspose

Aspose are file format experts. They offer a powerful set of file management APIs with which developers can create applications which can create, open, edit and save the majority of popular business file formats.

The Aspose product range includes Microsoft Excel spreadsheet APIsMicrosoft Word processing APIsMicrosoft PowerPoint presentation APIsPDF document creation and manipulation APIs and many others.

The Aspose products range of supported formats include Word documents, Excel spreadsheets, PowerPoint presentations, PDF documents, OneNote, Outlook, Project, Visio files, popular image formats and various other formats. Aspose produce APIs for .NET, Java, Cloud, which can be utilized in almost any modern language available today.

Aspose Pty Ltd has been operating since 2002. The headquarters are in Australia, and the company has teams in numerous countries all over the world.

Press Contact

Web: www.aspose.com
Telephone (US): +1 903 306 1676

Posted in Developer Community Support | Leave a comment

Support for replacing missing fonts available in Aspose.Imaging

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Aspose.Imaging for Java logo We are pleased to announce the release of Aspose.Imaging for Java 18.6. We have added support for some of new features in this API along with resolution of incurring issues in API.

Features

Following features have been introduced in this release.

Enhancements

Following enhancements have been introduced in this release.

  • Fix JPT codec option when saving JPEG2000 format.

  • TIFF generation with embedded color profiles fails without license.

  • Wrong conversion to TIFF when used CMYK profile with TiffExpectedFormat.TiffLzwCmyk mode.

  • PNG image not properly converted to JPEG.

  • Using of CMYK color profile for PSD image produce differ from Photoshop colors.

  • Incorrect conversion from PSD to JPEG.

  • Compatibility of Java 10 in Aspose.Imaging.

  • PSD to TIFF – white image.

Please refer to the release notes of Aspose.Imaging for Java 18.6 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 Public API Changes section to know what has been changed in the public API since your current version.

Aspose.Imaging 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.Imaging forum for a chat.

As always, we appreciate your feedback so if you ever have anything to share with us about this release or anything else, please feel free to contact us in Aspose.Imaging forum.

Posted in Aspose.Imaging Product Family | Leave a comment

Support for exporting raster image to PDF available in Aspose.Imaging

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

We like to share the release announcement for Aspose.Imaging for .NET 18.6. In this release we have added support for many features along with resolution of outstanding issues in API.

Features

Following features have been introduced in this release.

Enhancements

Following enhancements have been introduced in this release.

  • Incorrect conversion from PSD to JPEG.

  • Using of CMYK color profile for PSD image produce differ from Photoshop colors.

  • PNG image not properly converted to JPEG.

  • Wrong conversion to TIFF when used CMYK profile with TiffExpectedFormat.TiffLzwCmyk mode.

Please refer to the release notes of Aspose.Imaging for .NET 18.6 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 Public API Change section to know what has been changed in the public API since your current version.

Aspose.Imaging for .Net Resources

The resources, you may need to accomplish your tasks:

Posted in Aspose.Imaging Product Family | Leave a comment

Insert Hyperlink Using LINQ Reporting Setup Language Preferences Support of Table Alternative Text Move From and To Revision

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Aspose.Words for .NET logoWe are pleased to announce our next version Aspose.Words for .NET 18.6. This month’s release contains over 62 useful new features, enhancements and bug fixes. Please see the release notes for more detail. If you are planning to upgrade from older version of Aspose.Words to the current version, we would strongly suggest you to check the Public API and Backward Incompatible Changes section to know what APIs are changed so far.

 

Here is a look at just a few of the biggest features and API changes in this month’s release.

  • Exposed Title and Description properties into Table class
  • Added feature to insert shapes through the DocumentBuilder using ShapeType
  • Changed public properties of AxisScaling class
  • Implemented API allowing to set up language preferences
  • Added IsMoveFromRevision and IsMoveToRevision properties
  • Exposed properties for Asian typography into ParagraphFormat class
  • Public TXT save option AddBidiMarks is added
  • Implemented “left” and “right” alignment support for Ruby objects rendering
  • Improved rendering of DrawingML chart data labels with percentage values and the specified format
  • Flat shapes that are perpendicular to the projection plane are not rendered now
  • Zero-width characters in DrawingML textboxes no longer cause an exception during rendering
  • Fixed an issue with font fallback rendering for 1F600 – 1F64F (Emoticons) Unicode range
  • Fixed a bug with the rendering of the chart data labels, when label text and SpPr are specified
  • Fixed a bug with the maximum value of the chart axis when rendering DrawingML charts
  • Fixed a problem with rendering of subscript and superscript text in DrawingML charts
  • Fixed a bug where the shadowed shapes with compound outline lost their fill
  • Fixed MathML alignment issue inside text boxes
  • Fixed layout when large inline shape is attached to a paragraph with space after overflowing page
  • Fixed issue with preferred width of vertically merged table cells accounted for during width computation
  • Fixed exception when revision balloons are displayed in certain cases
  • Enhanced logic which handles page breaks inside text frames
  • LINQ Reporting Engine supports dynamic insertion of hyperlinks

Insert Hyperlink Dynamically for LINQ Reporting Engine

A new feature has been introduced in this version of Aspose.Words to insert hyperlink dynamically using LINQ Reporting engine. Please read the following article for more detail.

Inserting Hyperlinks Dynamically

Added Title and Description Properties into Table Class

Starting from Aspose.Words 18.6, you can set the alternative text of table. We have added Title and Description properties into Table class. Please refer to the following article for more detail.

Working with Alternative Text of Table

/// <summary>
/// Gets or sets title of this table. It provides an alternative text representation of the information contained in the table.
/// </summary>
/// <remarks>
/// The default value is an empty string.
/// This property is meaningful for ISO/IEC 29500 compliant DOCX documents (see the OoxmlCompliance class).
/// When saved to pre-ISO/IEC 29500 formats, the property is ignored.
/// </remarks>
public string Title
{
    get; set;
}
 
/// <summary>
/// Gets or sets description of this table. It provides an alternative text representation of the information contained in the table.
/// </summary>
/// <remarks>
/// The default value is an empty string.
/// This property is meaningful for ISO/IEC 29500 compliant DOCX documents (see the OoxmlCompliance class).
/// When saved to pre-ISO/IEC 29500 formats, the property is ignored.
/// </remarks>
public string Description
{
    get; set;
}

Insert Shapes through DocumentBuilder using ShapeType

We have added following methods in DocumentBuilder class to insert inline and free-floating shapes. These methods allow to insert DML shape into the document model. For more detail, please read following article.

Inserting Inline and Free-floating Shapes


/// <summary>
/// Inserts inline shape with specified type and size.
/// </summary>
/// <param name="shapeType">The shape type to insert into the document.</param>
/// <param name="width">The width of the shape in points.</param>
/// <param name="height">The height of the shape in points.</param>
/// <returns>The shape node that was inserted.</returns>
public Shape InsertShape(ShapeType shapeType, double width, double height)

/// <summary>
/// Inserts free-floating shape with specified position, size and text wrap type.
/// </summary>
/// <param name="shapeType">The shape type to insert into the document</param>
/// <param name="horzPos">Specifies where the horizontal distance to the shape is measured from.</param>
/// <param name="left">Distance in points from the origin to the left side of the shape.</param>
/// <param name="vertPos">Specifies where the vertical distance to the shape is measured from.</param>
/// <param name="top">Distance in points from the origin to the top side of the shape.</param>
/// <param name="width">The width of the shape in points.</param>
/// <param name="height">The width of the shape in points.</param>
/// <param name="wrapType">Specifies how to wrap text around the shape.</param>
/// <returns>The shape node that was inserted.</returns>
public Shape InsertShape(ShapeType shapeType, RelativeHorizontalPosition horzPos, double left, RelativeVerticalPosition vertPos, double top, double width, double height, WrapType wrapType)

Changed Public Properties of AxisScaling Class

We have removed MinimumIsAuto and MaximumIsAuto properties from the AxisScaling class. The type of the Minimum and Maximum properties has been changed from double to AxisBound. A new class AxisBound has been added in latest API that allows specifying axis bound as a numeric, datetime or “auto” value. Please check the code examples from following article

How to Set Chart Axis Properties

/// <summary>
/// Gets or sets minimum value of the axis.
/// </summary>
/// <remarks>
/// The default value is "auto".
/// </remarks>
public AxisBound Minimum
{
    get; set;
}
 
/// <summary>
/// Gets or sets the maximum value of the axis.
/// </summary>
/// <remarks>
/// The default value is "auto".
/// </remarks>
public AxisBound Maximum
{
    get; set;
}
namespace Aspose.Words.Drawing.Charts
{
    /// Represents minimum or maximum bound of axis values.
    /// Bound can be specified as a numeric, datetime or a special "auto" value.
    /// The instances of this class are immutable.
    public class AxisBound
    {
        /// Creates a new instance indicating that axis bound should be determined 
/// automatically by a word-processing application. public AxisBound();
/// Creates an axis bound represented as a number. public AxisBound(double value);
/// Creates an axis bound represented as datetime value. public AxisBound(DateTime datetime); /// Returns a flag indicating that axis bound should be determined automatically. public bool IsAuto { get; } /// Returns numeric value of axis bound. public double Value { get; } /// Returns value of axis bound represented as datetime. public DateTime ValueAsDate { get; } } }

Setup Language Preferences

We have added new feature in this release to setup language preferences. In MS Word, you can setup it from ‘Set the Office Language Preferences’ dialog. Please read following article for more detail.

Allowing to Setup Language Preferences

The LanguagePreferences class has been added for this feature.

/// <summary>
/// Allows to set up language preferences.
/// </summary>
/// <remarks>
/// Implements 'Set the Office Language Preferences' dialog in Word.
/// </remarks>
public class LanguagePreferences

This class implements the following public members:

/// <summary>
/// Adds additional editing language.
/// </summary>
public void AddEditingLanguage(EditingLanguage language)
 
/// <summary>
/// Adds additional editing languages.
/// </summary>
public void AddEditingLanguages(EditingLanguage[] languages)
 
/// <summary>
/// Sets default editing language.
/// </summary>
public void SetAsDefault(EditingLanguage language)

/// <summary>
/// <para>Gets or sets default editing language.</para>
/// <para>The default value is <see cref="EditingLanguage.EnglishUS"/>.</para>
/// </summary>
public EditingLanguage DefaultEditingLanguage

Also added a new public enumeration:

/// <summary>
/// Specifies the editing language.
/// </summary>
public enum EditingLanguage

And finally, a new public property is added to LoadOptions class:

/// <summary>
/// Gets language preferences that will be used when document is loading.
/// </summary>
public LanguagePreferences LanguagePreferences

Support of Move From and Move To Revisions

We have addd following public properties into the Inline, Paragraph, ShapeBase and InlineStory classes to work with ‘move from’ and ‘move to ‘ revisions. For more detail, please read following article.

Programmatically Access Revisions

/// <summary>
/// Returns true if this object was moved (deleted) in Microsoft Word while change tracking was enabled.
/// </summary>
public bool IsMoveFromRevision
{
    get;
}
 
/// <summary>
/// Returns true if this object was moved (inserted) in Microsoft Word while change tracking was enabled.
/// </summary>
public bool IsMoveToRevision
{
    get;
}

Support of Line Break Options for Asian Typography

In this release, we have added support of line break options for Asian Typography. Following public properties have been added into the ParagraphFormat class. Please read following article for more detail.

Set Line Break Options

/// <summary>
/// Gets or sets a flag indicating whether East Asian line-breaking rules are applied to the current paragraph.
/// </summary>
public bool FarEastLineBreakControl
{
    get; set;
}
 
/// <summary>
/// If this property is <b>false</b>, Latin text in the middle of a word can be wrapped for
/// the current paragraph. Otherwise Latin text is wrapped by whole words.
/// </summary>
public bool WordWrap
{
    get; set;
}
 
/// <summary>
/// Gets or sets a flag indicating whether hanging punctuation is enabled for the current paragraph.
/// </summary>
public bool HangingPunctuation
{
    get; set;
}

Support of “Add bi-directional marks” for TXT Format

We have added TxtSaveOptions.AddBidiMarks property in this version of Aspose.Words to support insertion of bi-directional marks in output TXT file format. Please read following article for more detail.

How to Add Bi-Directional Marks

/// <summary>
/// <para>Specifies whether to add bi-directional marks before each BiDi run when exporting in plain text format.</para>
/// <para>The default value is <b>true</b>.</para>
/// </summary>
public bool AddBidiMarks

Obsolete Enum RowAlignment was Removed

Obsolete enum RowAlignment was Removed from API. Please use TableAlignment enum instead.

Obsolete Method InvalidateFieldTypes was Removed from Document and Range Classes

Obsolete method InvalidateFieldTypes was removed from Document and Range classes. Please use NormalizeFieldTypes method instead.

Obsolete Properties were Removed from RowFormat Class

Obsolete property RowFormat.PreferredWidth was removed. Please use the Table.PreferredWidth property instead.
Obsolete property RowFormat.RowAlignment was removed. Please use the Table.RowAlignment property instead.
Obsolete property RowFormat.AllowAutoFit was removed. Please use the Table.AllowAutoFit property instead.
Obsolete property RowFormat.Bidi was removed. Please use the Table.Bidi property instead.
Obsolete properties RowFormat.LeftPadding/RightPadding/TopPadding/BottomPadding was removed. Please use these properties from Table class instead.
Obsolete property RowFormat.CellSpacing was removed. Please use the Table.CellSpacing property instead.
Obsolete property RowFormat.LeftIndent was removed. Please use the Table.LeftIndent property instead.
Obsolete method RowFormat.ClearCellPadding() was removed. Please use padding properties on the Table instead.

Aspose.Words for .NET Resources

The following resources will help you work with Aspose.Words for .NET:

    • Home page of .NET API.
    • Install using NuGet Package
    • Documentation – up-to-date documentation containing Programmer’s Guide, Knowledge Base and much more.
    • API Reference Guide – detailing the publicly exposed classes, methods, properties, constants & interfaces.
    • Aspose.Words Product Family Forum – post your technical questions and queries, or any other problem you are facing while working with Aspose.Words APIs.
    • Enable Blog Subscription – do not limit yourself, you can keep yourself updated with the latest news on Aspose.Words APIs, new features, fixes and other API related topics by subscribing to Aspose.Words blog.
    • Examples – we have published our code examples on the social coding website GitHub.com. Anyone could explore the code examples for learning purposes.
Posted in Aspose.Words Product Family | Leave a comment

Improved PDF Rendering of Tables Paragraphs Doughnut DrawingML Charts in Aspose.Words for SharePoint 18.5

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Aspose.Words for SharePoint logoWe are really delighted to announce the release of version 18.5 of the Aspose.Words for SharePoint API. This release comes with some very exciting features to enhance the usability of the API. This version also sees the codebase better tweaked and the core functionality closer to Aspose.Words for .NET 18.5, which is the base product that Aspose.Words for SharePoint 18.5 is ported from.
We recommend you to download the latest release and check out all the features introduced in the base Aspose.Words for .NET API. You can download the latest release of Aspose.Words for SharePoint from the following link:

Bug Fixes and Changes

Aspose.Words for SharePoint 18.5 release includes the latest improvements and fixes made up to date in Aspose.Words for .NET (18.5). The most notable are:

  • Fixed line wrapping with trailing spaces at the end
  • Fixed issue with paragraph after spacing in headers/footers
  • Fixed issue with table width when widthAfter is specified for a jagged table
  • Fixed issue with table width with complex column layout and default widths
  • Fixed breaking of floating table row in compatibility mode
  • Fixed issue with floating frame pushed from the page because of invalid wrap point
  • Implemented support for “distribute space” and “distribute letter” types of alignment when rendering Ruby objects
  • Improved rendering of a Doughnut DrawingML Chart with multiple series
  • Improved rendering of DrawingML Charts data labels with the direct layout and a layout specified in the extension properties
  • Fixed a problem with metafile rendering when glyph offsets were wrongly read for EMF_EXTTEXTOUT record with glyph indices
  • Fixed a problem with processing of control character (U+0019) in the text when rendering
  • Fixed a problem with Adobe “Fast Find” function (words searching) in rendered PDF documents
  • Fixed a bug with inaccurate processing of EMR_ALPHABLEND record while rendering metafiles. This bug caused a loss of fill in some figures
  • Fixed a bug with rendering of PieChart data label separator when it is set directly
  • Fixed rendering of a dashed line shapes with a shadow

Aspose.Words for SharePoint API Resources:

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

Start a Free Trial Today

Start a free trial today – all you need is to sign up with Aspose. Once you have signed up, you are ready to try all the powerful file processing features offered by Aspose.

You can easily download ‘Aspose.Words for SharePoint’ API for evaluation. The evaluation download is the same as the purchased download. Please check How to License Aspose.Words for SharePoint.

The evaluation version of Aspose.Words for SharePoint (without a license specified) provides full product functionality, but it inserts an evaluation watermark at the top of the document on open and save, and limits the maximum document size to several hundred paragraphs.

If you want to test ‘Aspose.Words for SharePoint’ API without the evaluation version limitations, you can also request a 30-day Temporary License. Please refer to How to get a Temporary License?

Posted in Aspose.Words Product Family | Leave a comment

Upgraded Barcode APIs With Aspose.BarCode for JasperReports 18.5

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Aspose.BarCode for JasperReports We are pleased to announce new Aspose.BarCode for JasperReports 18.5 release.

This release has been developed based on Aspose.BarCode for Java 18.5, whereby we have fixed the issues in the API and removed functionality which were marked as obsolete. GetCustomSizeBarCodeImage method was not working properly. It was discarding the check digit in the image generated by Aspose.BarCode. This issue has been rectified. Further, it was found that an incorrect/fake MicrE13B barcode detected by the API. This issue has also been taken care.

To view a complete list of fixes, please visit Aspose.Barcode for JasperReport 18.5 release notes page.

You can download the latest release of Aspose.BarCode for JasperReports from the following link: Download Aspose.BarCode for JasperReports 18.5

Aspose.BarCode for JasperReports Resources

The following API resources can be of help to you in getting started:

Posted in Aspose.BarCode Product Family | Leave a comment

Auto Discover Exchange Server settings using Aspose.Email for Java 18.5

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

aspose-email-for-javaAspose.Email for Java 18.5 has been released. This month’s release includes new feature of Auto Discovery of Exchange Server settings using the API’s EWS client. It also enhances the PST to Exchange server import operation. For a detailed note on what is new and fixed, please visit the release notes section of the API documentation.

Support for Auto Discovery Feature using Aspose.Email for Java 18.5

This release introduces a new feature of auto-discovery of Exchange server settings using account’s user name and password. The AutoDiscoverService introduced by the API gets this information from the exchange server using the username and password specified by application user. In addition to other settings returned by the API, you can get the server’s EWS Url as well using this feature.

String email = "...";
String password = "...";
AutodiscoverService svc = new AutodiscoverService();
svc.setCredentials(new NetworkCredential("username@domain.com", "password"));

IGenericDictionary<Integer,Object> userSettings = svc.getUserSettings(email, UserSettingName.ExternalEwsUrl).getSettings();
String ewsUrl = (String)userSettings.get_Item(UserSettingName.ExternalEwsUrl);
System.out.println("Exchange Server Url: " + ewsUrl);

Abort PST to Exchange Server Operation

Import of large size PSTs to Exchange server can result in operation timeout which can lead to unexpected results. This month’s release provides the capability to defined timeout for the operation so that it can stop upon meeting the desired criterion. This allows users to abort the PST restore operation in case it is taking too long to complete the operation.

PersonalStorage pst = PersonalStorage.fromFile("");
		
IEWSClient client = EWSClient.getEWSClient("https://exchange.domain.com", "username", "password");
		
final AtomicInteger numberOfProcessedItems = new AtomicInteger(0);

RestoreSettings rs  = new RestoreSettings();
		
rs.setBeforeItemCallback(new BeforeItemCallback() {
    public void invoke(ItemCallbackArgs item) {
        if (numberOfProcessedItems.get() >= 1)
        {
            throw new AbortRestoreException();
        }

        numberOfProcessedItems.incrementAndGet();
    }
});

try {
    client.restore(pst, rs);
} catch (AbortRestoreException e) {
    System.out.println("1 resored");
}

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

Convert MS Excel spreadsheet to PDF and image formats using Aspose.Cells for C++ v18.5

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Aspose Team is pleased to announce the release of Aspose.Cells for C++ 18.5.0. This release supports converting MS Excel spreadsheets to PDF file format and rendering worksheets/workbook to image formats, the two most valuable features demanded by many developers. It also includes other enhancements and fixes that further improve the overall stability of the API. Please check the detailed release notes in order to get an idea about what is new and what has been enhanced with this revision of Aspose.Cells for C++.

While you are downloading the API build to give it a try, here is a list of added features along with a few code snippets for quick testing.

Converting Excel Workbook to PDF

As we know, PDF files are widely used to exchange documents between organizations, government sectors and individuals. It is a standard document format and software developers are often asked to find a way to convert Microsoft Excel files into PDF documents. Aspose.Cells for C++ now supports converting Excel files to PDF and maintains good visual fidelity in the conversion.

The following code demonstrates the use of Aspose.Cells for C++ API to convert an Excel spreadsheet to PDF file format.

// Source directory path.
StringPtr srcDir = new String("..\\Data\\01_SourceDirectory\\");
 
// Output directory path.
StringPtr outDir = new String("..\\Data\\02_OutputDirectory\\");
 
// Path of input Excel file
StringPtr sampleConvertExcelWorkbookToPDF = srcDir->StringAppend(new String("sampleConvertExcelWorkbookToPDF.xlsx"));
 
// Path of output Pdf file
StringPtr outputConvertExcelWorkbookToPDF = outDir->StringAppend(new String("outputConvertExcelWorkbookToPDF_DirectConversion.pdf"));
 
// Load the sample Excel file.
intrusive_ptr workbook = Factory::CreateIWorkbook(sampleConvertExcelWorkbookToPDF);
 
// Save the Excel Document in PDF format
workbook->Save(outputConvertExcelWorkbookToPDF, SaveFormat_Pdf);

See the document on how to Convert Excel Workbook to PDF for your reference.

Converting Worksheet to Different Image Formats

You might need to present worksheets as series of images. For example, you require to use an image of a worksheet in an application or web page. You might want to insert an image into a Microsoft Word document, a PDF file, a PowerPoint presentation or some other document type. Aspose.Cells for C++ now supports converting Excel worksheets to images. Several image formats are supported, for example BMP, PNG, GIF, JPG, JPEG, TIFF, EMF.

The following code demonstrates the use of Aspose.Cells for C++ API to convert worksheet to image format.

// Source directory path.
StringPtr srcDir = new String("..\\Data\\01_SourceDirectory\\");
 
// Output directory path.
StringPtr outDir = new String("..\\Data\\02_OutputDirectory\\");
 
// Path of input Excel file.
StringPtr sampleConvertingWorksheetToDifferentImageFormats = srcDir->StringAppend(new String("sampleConvertingWorksheetToDifferentImageFormats.xlsx"));
 
// Create an empty workbook.
intrusive_ptr workbook = Factory::CreateIWorkbook(sampleConvertingWorksheetToDifferentImageFormats);
 
// Access first worksheet.
intrusive_ptr worksheet = workbook->GetIWorksheets()->GetObjectByIndex(0);
 
// Create image or print options object.
intrusive_ptr imgOptions = Factory::CreateIImageOrPrintOptions();
 
// Specify the image format.
imgOptions->SetImageFormat(Aspose::Cells::System::Drawing::Imaging::ImageFormat::GetPng());
 
// Specify horizontal and vertical resolution
imgOptions->SetHorizontalResolution(200);
imgOptions->SetVerticalResolution(200);
 
// Render the sheet with respect to specified image or print options.
intrusive_ptr sr = Factory::CreateISheetRender(worksheet, imgOptions);
 
// Get page count.
Aspose::Cells::System::Int32 pageCount = sr->GetPageCount();
 
// Create string builder object for string concatenations.
intrusive_ptr sb = new Aspose::Cells::System::Text::StringBuilder();
 
// Render each page to png image one by one.
for (int i = 0; i < pageCount; i++)
{
    // Clear string builder and create output image path with string concatenations.
    sb->Clear();
    sb->Append(outDir);
    sb->Append((StringPtr)new String("outputConvertingWorksheetToImagePNG_"));
    sb->Append(i);
    sb->Append((StringPtr)new String(".png"));
 
    // Get the output image path.
    StringPtr outputPNG = sb->ToString();
 
    // Convert worksheet to png image.
    sr->ToImage(i, outputPNG);
}


See the document on how to convert worksheet to different image formats for your reference.

Aspose.Cells for C++ Resources

The resources, you may need to accomplish your tasks:

Keeping the Aspose tradition, you are welcome to shape the upcoming releases of Aspose.Cells for C++ API by posting your suggestions and concerns in the Aspose.Cells support forum.

Posted in Aspose.Cells Product Family | Leave a comment

Enhanced Barcode APIs With Aspose.BarCode for Java 18.5

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn

Aspose.BarCode for Java Aspose.BarCode for Java 18.5 is available for download now. This is a maintenance release whereby we have resolved some incurring issues in API. Some of the functionality which were marked as obsolete have also been removed from the API in this release.

Issues Resolved

It was reported that GetCustomSizeBarCodeImage method is not working properly. It is discarding the check digit in the resultant image of barcode. After investigation this issue has been resolved. Now barcode generation process is working properly. Furthermore while we were investigating some issue internally, it was found that an incorrect/fake MicrE13B barcode detected by the API. This issue has also been resolved.

To view a complete list of enhancements and fixes, please visit the release notes page.

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