Set Flip Mode when Converting to a Image Format

With our latest release 19.3, some new properties are introduced in ImageSaveOptions class. When converting to a Image format you can now always set brightness and contrast. API permits you to do mirror-reversal across a horizontal/vertical axis using FlipMode property. Based on your feedback, we resolved some previously logged issues and improved document conversion experience. Such as, image quality is improved when converting to a WebP format. Furthermore, JpegQuality issue is now resolved for PDF to JPEG conversion.

New Properties in ImageSaveOptions

FlipMode offers horizontal, vertical, horizontal and vertical at the same time or no Flip at all. Control gamma correction, brightness and contrast when converting to a image format.

Fix – ImageSaveOptions.JpegQuality Issue

You can select desired image quality when converting to JPEG format. Quality scale must be between 0 and 100. Previously, despite of setting JpegQuality to any value (0-100), API was not reflecting any change in the output. This issue is now fixed.

GroupDocs.Conversion for .NET 19.3 is now available to download. Let us know what you think by sending feedback!

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Conversion Product Family | Tagged | Leave a comment

GroupDocs.Viewer for .NET 19.3 is Released!

Document Viewer API

We are happy to announce the release of version 19.3 of GroupDocs.Viewer for .NET. In this release, we have added several new features that target the PDF documents, archives and the source code files of Visual Basic and C#. Along with 2 bug fixes, we have made a couple of improvements for rendering of ZIP archives and vCard documents. For detailed information about the latest release, please have a look at the release notes.

What’s New in this Release?

Setting Passwords and Permissions for PDF Documents

PDF format allows setting the Owner password and the User password to restrict access to the document. The Owner password is used to change the permissions of the document whereas the User password is required when opening a PDF document. Along with the passwords, PDF format supports setting permissions such as allow or deny printing, modification and data extraction. In this release, we have added the support of setting the Owner password, User password, and the file permissions while rendering the document into PDF.

The following is a simple way to create and use the PDF file’s security options using GroupDocs.Viewer for .NET:

Working with Folders within the Archives

In the previous version, we introduced the support of rendering archive documents. The rendering of archive documents shows a list of the items (files and folders) located in the root of the archive. In the latest release, we have made it possible to get the list of the folders within the archive and render the content from those folders. The following sections demonstrate how to work with the folders located in an archive document.

Getting List of Folders within an Archive

The following code snippet shows how to get the list of folders within an archive:

Getting List of Folders in a Specific Folder

There might be the case when you have sub-folders within a folder located in the root of the archive. In that case, to get the list of sub-folders you can simply specify the folder name in ArchiveOptions.FolderName property of HtmlOptions/ImageOptions class.

Rendering Specified Folder within Archive

To render the content of a folder, simply specify the folder name in
ArchiveOptions.FolderName property and call GetPages function as shown in the following code snippet.

Support of Visual Basic (.vb) and C# (.cs) Files

Using the latest release, you will be able to view the source code files of Visual Basic and C#. The rendering of these source code files is available in both, the HTML-based and image-based rendering.

Haven’t Used GroupDocs.Viewer Before?

In case you haven’t yet tried our API but are interested in using it, the following resources will be helpful for you to get started.

Stay Tuned for Updates!

If you don’t want to miss out any news or announcements on GroupDocs products, stay tuned to our blog and keep visiting frequently.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Viewer Product Family | Tagged , , , , , , | Leave a comment

Support for Diagrams in GroupDocs.Merger

GroupDocs Editor for .NET

GroupDocs.Merger now supports diagram formats such as VSDFX, VSDM, VSSX, VSSM and VTX . It allows you to swap, rotate or trim pages in diagrams. Apart for that, you can also set or remove password protection of diagrams. This API comes in both Java and .NET platforms and could be integrated in any your .NET or Java application without any dependency.

Features for Diagrams Format

Swap Pages:

This feature allows you to exchange the position of two pages in the document. Following are the lines of code which can be used to swap pages in the diagram:

Above lines of code are used to swap pages of following VSDX file:

Finally, after performing swap operation on VSDX, the output looks as follows:

Move Page:

This feature allows you to change position of the pages within the document. Following are the lines of code which can be used to change order of the pages in the diagram:

Remove Page:

Using this feature you can remove single or collection of pages from the document. Following example demonstrates how to remove pages in the diagram:

Split Document:

You can split document into several resulting documents using this feature. Following is the example to split diagram:

Trim Document:

This feature allows you to cut the specific pages of the document. Following are the lines of code which can be used to trim the diagram:

Change Pages Orientation:

This feature allows you to change pages orientation. Following code sample shows how to change orientation of the pages in the diagram:

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Merger Product Family | Tagged , | Leave a comment

Rendering Archive Documents

The Compressed files (e.g .ZIP or TAR) use file compression in order to save the disk space. Also, the compressed archive formats can be used to compress multiple files into a single archive. This post demonstrates the usage of the GroupDocs.Viewer API to render the list of files or folders from an archive file.

Rendering the List of a Folder from the Archive

The GetPages method of both ViewerImageHandler and ViewerHtmlHandler renders the items from the root of archives.

The following code snippet shows that how simple is to render the list of items from the root of an archive:

The output of the above code snippet looks as follows:

Rendering Specified Folder into Image, HTML or PDF

To render a specified folder from an archive into image, html or PDF, all ImageOptions, HtmlOptions and PdfOptions classes have the ArchiveOptions.FolderName property which is used like:

ArchiveOptions.FolderName = "FirstLevelFolder";

When you need to render the list of items or folders contained in a certain folder inside the archive, set the value using ‘/’ path delimiter character like:

ArchiveOptions.FolderName = "FirstLevelFolder/SecondLevelFolder";

The following example shows the rendering of a list of items from a folder “SecondLevelFolder” which is contained inside the “FirstLevelFolder” of the archive:

If the rendering into PDF file is required, you can write the code as follows:

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

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Viewer Product Family | Tagged , , | Leave a comment

ZIP Archive Indexing is Improved in GroupDocs.Search for Java 19.2

GroupDocs.Search for JavaWe are pleased to announce the monthly release of GroupDocs.Search for Java 19.2.
Improvements such as indexing of a ZIP archive inside other ZIP and escape of special characters in search queries are introduced. Please check GroupDocs.Search for Java 19.2 release notes for further reference. We would recommend you to download and integrate latest version of the API.

Breaking Change

  • Removed obsolete methods Import and Export from dictionary classes

Improvements

Following improvements are introduced in this release:

Implement escaping special characters in search queries

String indexFolder = "c:\\MyIndex";
String documentFolder = "c:\\MyDocuments";
// Creating index
Index index = new Index(indexFolder);
// Marking character '&' as a valid letter, not a separator
index.getDictionaries().getAlphabet().setRange(new char[] { '&' }, CharacterType.Letter);
// Adding documents to index
index.addToIndex(documentFolder);
// Searching for word 'R&B'
SearchResults results0 = index.search("R\\&B");
// Searching for word 'R&B'
SearchResults results1 = index.search("R\\u0026B");

Indexing ZIP archives inside other ZIP archives

String indexFolder = "c:\\MyIndex";
String documentFolder = "c:\\MyDocuments";
// Creating index
Index index = new Index(indexFolder);
// Adding documents to index
// ZIP archives and ZIP archives inside those archives will be automatically added to index
index.addToIndex(documentFolder);
// Searching
SearchResults results = index.search("zip");

Available Channels and Resources

Here are a few channels and resources for you to download, learn, try and get technical support on GroupDocs.Search:

Feedback

As always, if you have any questions or suggestions, feel free to write on our forum.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Search Product Family | Tagged | Leave a comment

Sign Images with Metadata Signature using GroupDocs.Signature for .NET 19.1

GroupDocs.SignatureNew month, new release! We have released version 19.1 of GroupDocs.Signature for .NET that brings a couple of new features as well as two bug fixes and two improvements. The latest version provides metadata signature features for image files. Furthermore, the API now supports rounded corners for rectangle stamp signature types. For more details on what’s new in the latest release, please have a look at release notes.

Features Introduced

Metadata Signature Features for Images

In the latest version, we have introduced a new feature of singing images with metadata signatures that are based on Exchangeable Image File Format (EXIF) specification. For this, we have added a new public class ImageMetadataSignatureOptions that provides different options to add metadata signatures in images.

For a working example, please visit this documentation article.

Rounded Corners for Stamp Signatures

A new public class SquareBorderLine that inherits BorderLine is added to implement square stamp signature with rounded corners. This class contains data about the radius of the square signature’s corners.

For a working example, please visit this documentation article.

Improvements

We have done the following improvements in version 19.1.

  • Improve Image Metadata type conversion
  • Optimize Document options type detection for handler processes (Sign/Verify/Search)

Bug Fixes

The following bugs are fixed in the latest version.

  • Fix Stamp generation processing for wide areas
  • QR/Bar code with wide border cannot be read

Available Channels and Resources

Here are a few channels and resources for you to learn, try and get technical support on GroupDocs.Signature API for .NET:

Feedback

As always, we will be happy to know about your thoughts. Just create a forum thread and our dedicated support team will be there to respond.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Signature Product Family | Leave a comment

Escape Special Characters in Search Queries using GroupDocs.Search for .NET 19.2

GroupDocs.Search for .NETWe are pleased to announce the monthly release of GroupDocs.Search for .NET 19.2.
Improvements such as indexing of a ZIP archive inside other ZIP and escape of special characters in search queries are introduced. Please check GroupDocs.Search for .NET 19.2 release notes for further reference. We would recommend you to download and integrate latest version of the API.

Breaking Change

  • Removed obsolete methods Import and Export from dictionary classes

Improvements

Following improvements are introduced in this release:

Implement escaping special characters in search queries

string indexFolder = @"c:\MyIndex";
string documentFolder = @"c:\MyDocuments";
// Creating index
Index index = new Index(indexFolder);
// Marking character '&' as a valid letter, not a separator
index.Dictionaries.Alphabet.SetRange(new char[] { '&' }, CharacterType.Letter);
// Adding documents to index
index.AddToIndex(documentFolder);
// Searching for word 'R&B'
SearchResults results0 = index.Search(@"R\&B");
// Searching for word 'R&B'
SearchResults results1 = index.Search(@"R\u0026B");

Indexing ZIP archives inside other ZIP archives

string indexFolder = @"c:\MyIndex";
string documentFolder = @"c:\MyDocuments";
// Creating index
Index index = new Index(indexFolder);
// Adding documents to index
// ZIP archives and ZIP archives inside those archives will be automatically added to index
index.AddToIndex(documentFolder);
// Searching
SearchResults results = index.Search("zip");

Available Channels and Resources

Here are a few channels and resources for you to download, try, learn and get technical support on GroupDocs.Search:

Feedback

If you have any suggestions, questions, or queries related to the GroupDocs.Search for .NET API, we will be happy to hear from you. Just create a forum thread to share your thoughts.

Share on FacebookShare on Google+Tweet about this on TwitterShare on LinkedIn
Posted in GroupDocs.Search Product Family | Tagged | Leave a comment