In the first article, How to use rspec to test GroupDocs API. Part 1, we created first test for GroupDocs API. This article describes in details how tests works, what expectation and matchers are, and how to test an API with the PULL method.
Expectation and Matchers So what are expectation and matchers? Lets look at a small example:
string ="GroupDocs" string.should have(9).characters string.should\_not have(5).characters Expectations are defined by should and the negative form should_not....rb file that we created in the last...Example of simple Group # Create a file called sample_spec.rb with the...
This article shows how to extract metadata properties from your Files in C# .NET solution programmatically with GroupDocs.Metadata for .NET...DOC, PPT, XLS and many other files of different types in your ...Metadata for .NET supports many file formats. See full list at article...
This section describes GroupDocs.Merger for Python via .NET supported document types...following table indicates the file formats that GroupDocs.Merger...Document Template Rich Text Format File OpenDocument Text Document OpenDocument...
Hi, We are trying to provide few font substitutes during PDF conversion, but even after providing the font Files the PDF is generated using “Dejavu Sans”.
Code snippet:
public byte[] generatePdfUsingGroupDocs(byte[] co…...even after providing the font files the PDF is generated using “Dejavu...customFontsFolderNam; File directory = new File(customFontsDirectory); File[] files...
In the previous article, we learned how to create a new PHP project on Heroku. But sometimes our project requires additional extensions that do not exist in the Heroku PHP configuration. So we need to find out how to create and install extensions for PHP on Heroku.
In this post, I’ll show you these advanced steps, and create a PHP project on Heroku with the GroupDocs PHP SDK Api Samples application....compiled the extension, but this file is on the Heroku server and...need it in our API. To get the file from the server and add it to...
Learn to lock & unlock PDF Files with password protection in Java. Change the current password, or remove it within Java applications....apply watermarks , encrypt files, or you can make your documents...password protection to the PDF files within the Java applications...
Add text watermarks and image watermarks to password-protected Word, PDF, PowerPoint, Excel Files using C#. Customize watermark appearance using .NET API....illegal use; branding your files; mentioning your documents as...In order to watermark your files programmatically, this article...
GroupDocs.Metadata provides different ways to save a File with updated metadata.
Please refer to the following guides to know more about all overloads of the Save method:...Advanced Usage / Saving files Saving files Leave feedback GroupDocs...provides different ways to save a file with updated metadata. Please...
Convert Microsoft Project Files to HTML, PDF, PNG, or JPEG using the GroupDocs.Viewer Python API....rendering basics / Render Project files Render Project documents as...as HTML, PDF, and image files Leave feedback On this page allows...
Learn how to add text watermark to DOCX using Python. This tutorial explains how to apply watermark to DOCX document in Python with customizable properties....Watermark to DOCX Using Python DOCX file format is widely used for reports...text-based watermarks in DOCX files programmatically. This tutorial...