As of version 3.0 you can use cm (centimeters), mm (millimeters), in (inches) or px (pixels). For version 1.7 / 2.0 of our software this can be mm (millimeters), in (inches) or pt (points). Measurement unit, which is applied to the margins as well as the width and height. If you specify a width, but not a height, then we generate one long single page PDF. These will determine the layout of the resulting PDF. The table below shows the settings that you can change to control the page settings. Example: If you want a PDF in A4 format and portrait orientation, you would use the following request. Just attach each parameter to the request. The sections below describe all the options that you will be able to use with the API. NB: You can use both GET as well as POST requests as long as you properly URL encode the data that you pass. You can use the parameter pdf_creator_version with the API to override this setting for individual conversions as well! The current latest version is 5.0 (March 2021). In the members area you will also find a default PDF creator version that we use to do your conversions. Other than that you can use a lot of additional parameters in the API call, which give you access to all the features for conversion. html: the raw HTML code that you want to convertīy default we will use all the conversion defaults you set in our members area.url: the web page that you want to convert OR.license: this is mandatory and you will get yours when you sign up.endpoint: this should be or for secure access.The request should at least have the following components: You just send a request similar to this, which converts to PDF: It takes a license and either a URL or raw HTML as input and returns the PDF. The PDFmyURL HTML to PDF API is easy to use. NET component and a PHP library available! No installation required, but we do have a.Easy usage on the command line - just check our cURL HTML to PDF example or Wget HTML to PDF example.NET, Python, Java, Perl, Ruby and VB.net! Ready to use code examples for PHP, JavaScript, C# /.Uses the latest rendering engine that modern browsers use.Can convert or exclude parts of a webpage.Can convert web pages in your secure members area or local intranet.Can encrypt and protect your PDF documents.Can add watermarks, stamps and/or (full) page backgrounds.Has many options for PDF layout, headers and footers and much more!.Supports full HTML with JavaScript, including modern frameworks like Flexbox and Bootstrap.Converts any URL to PDF easily and also converts raw HTML to PDF.Use it to create high-quality invoices, reports, tickets, e-books, brochures and much more! Features It lets you create high-quality PDF documents quickly, efficiently and cost-effectively. We offer a professional HTML to PDF converter API for webpage or HTML to PDF conversion.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |