![]() Learn more about GroupDocs.Conversion from the documentation. We separately looked at the steps and code example for converting a specific list of slides, any successive subset of presentation slides, and conversion of PPT to PDF with a customized watermark and other options. We learned different ways to convert PPT to PDF format in C#. The following C# code example adds a watermark with rotation angle and transparency while converting the PPT to PDF. Save the presentation to PDF using Convert() method. Prepare the text watermark options and define:Īdd the prepared watermark to PDF conversion options. The below-mentioned steps and source code shows how to put a watermark when a PPT/PPTX presentation is converted to PDF format. Want to secure your presentation while converting it to PDF format? Leave a watermark on the resultant PDF. Just for an overview, we can customize the PPT conversion with the mentioned options and much more:Īdd Watermark while converting PPTX or PPT to PDF in C# Along with the common conversion options, it has many additional options that can be seen in detail from the documentation. PdfConvertOptions gives control over conversion results while converting to PDF. These options are rarely needed, however when required, they prove their importance. There are many more options while converting the presentations. Convert PPT to PDF with Advanced Options # The following source code shows how to retrieve all the possible conversions of the PPTX formats using C#. Get all the possible conversions of the source format using GetPossibleConversions() method.Define the source format using the Converter class.More important for developers, we can retrieve all the possible conversion formats of PPT/PPTX presentations by simply calling the GetPossibleConversions() method of the Converter class. You can refer to the documentation for all the possible conversions. This is not only the PDF that could be the target document format while conversion. The following code snippet converts the slide numbers 2, 3, and 4 to PDF format in C#. Save the selected slides in PDF format using Convert() method.Set the starting page number and the count of sequentials slides ahead using PDF Conversion Options.Load the presentation file using Converter class.Just set the starting page number and number of successive pages ahead. ![]() Certain consecutive slides of the presentation can be selected to get these converted into PDF format. With the little modification in the requirement, below is the little change in the code. Convert Consecutive Slides of PPTX to PDF using C# The following source code converts slides number 1, and 3 of a presentation to PDF. List the selected slide numbers to convert.Load the presentation using Converter class.Below are the steps and C# source code that shows, how to achieve this. GroupDocs.Conversion allows converting the specific slides of a presentation to the resultant PDF document. We could have a requirement to convert only the selected slides instead of converting the whole presentation. Convert Specific Slides of PPT to PDF in C# The following code sample converts the complete PowerPoint PPTX to PDF in C#. Call Convert() method of Converter class.Create a new instance of Converter Class with the source document.Just with the below-mentioned two lines of CSharp code, you can quickly convert any type of presentation like PPTX or PPT to PDF. GroupDocs.Conversion has made this so easy the popular and demanding conversion of presentation files. Apply Watermark while Conversion to PDF.Convert Presentation with Advanced Options.Possible Conversions of PowerPoint PPT/PPTX format.Convert Sequential Subset of Slides to PDF.How to Convert Complete Presentation to PDF. ![]() The following topics are discussed below: After this article, you will get familiar with different ways to convert Microsoft and OpenOffice presentations using GroupDocs.Conversion for. GroupDocs supports the conversion of 50+ document formats, hence providing On-Premise APIs (.NET & Java), Cloud APIs, and online Conversion Apps. NET developers today, this article will be providing the solution to the above-mentioned file format conversion. Due to the popularity of both the document formats and the fixed layout nature of PDF format, there comes the requirement to convert PPT/PPTX to PDF format.Ĭonsidering the. PPT and PPTX formats of Microsoft PowerPoint share the popularity in business documents. PDF is no doubt the Portable Document Format, which is one of the most commonly used file formats.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |