Slidize.Plugins
24.11.0
dotnet add package Slidize.Plugins --version 24.11.0
NuGet\Install-Package Slidize.Plugins -Version 24.11.0
<PackageReference Include="Slidize.Plugins" Version="24.11.0" />
paket add Slidize.Plugins --version 24.11.0
#r "nuget: Slidize.Plugins, 24.11.0"
// Install Slidize.Plugins as a Cake Addin #addin nuget:?package=Slidize.Plugins&version=24.11.0 // Install Slidize.Plugins as a Cake Tool #tool nuget:?package=Slidize.Plugins&version=24.11.0
Slidize.Plugins .NET Library
Product Page | Docs | API Reference
Slidize.Plugins is a lightweight .NET library for managing presentations and converting them to PowerPoint, OpenDocument, and image formats. With its unique licensing system, you can plug in and purchase only the functionality you need. It supports advanced image processing, customizable presentation formats, merging presentations, and controlling notes, comments, and hidden slides. The library also offers PDF compliance control and multi-page TIFF exports, making it ideal for batch conversions and complex workflows.
Supported Formats
Slidize.Plugins supports a wide variety of output formats for flexibility in handling presentation files:
- PowerPoint Formats: PPT, PPTX, PPTM, PPS, PPSX, PPSM, POT, POTX, POTM
- OpenDocument Formats: ODP, FODP, OTP
- Image Formats: PNG, JPEG, TIFF, SVG
- Document Formats: PDF, HTML, XML
Key Features
- Convert presentations to a wide range of formats including PDF, PNG, JPEG, TIFF, SVG, HTML.
- Convert presentations to other presentation formats like PPT, PPTX, POT, POTX, PPS, PPSX, ODP, FODP.
- Merge multiple presentations into a single file.
- Customize handout layouts, notes, and comments for export.
- Advanced image processing with pixel format, resolution, and compression control.
- Support for both PowerPoint 97-2003 and Open XML formats.
- Support OpenDocument formats.
License Management
The license management system in Slidize.Plugins is designed to give you complete control over the features and tools you acquire. Instead of being forced into purchasing an entire package, you can choose only the functionalities that are directly relevant to your tasks, allowing for a more personalized and cost-efficient experience. This system empowers you to customize your usage based on your specific needs, ensuring that you don’t pay for features you won’t use. Moreover, as your needs evolve, you have the flexibility to expand your toolkit by purchasing additional functionalities, making it a scalable solution. Whether you are working on small projects or managing large-scale tasks, you can adjust your access to match the exact demands of your workflow. By offering this targeted approach, the License Management system helps to eliminate waste, streamline operations, and provide a tailored set of tools that enhances your productivity without unnecessary expenses.
The following code example shows how to enable licenses to plug in the Slidize.Plugins functionality for converting presentations to PDF documents and merging PowerPoint and OpenDocument presentations.
var licenseFilePaths = new[]
{
"MyLicenses\\PresentationToPDFConverter.lic",
"MyLicenses\\PresentationMerger.lic"
};
foreach (var filePath in licenseFilePaths)
{
License.PlugLicense(filePath);
}
Convert PowerPoint to PDF
Converting a PowerPoint presentation to PDF is a common requirement for many applications, whether for distributing static copies of slides or archiving presentations. With Slidize.Plugins, you can convert any presentation to PDF while maintaining full control over the export options, such as embedding fonts, adjusting compliance levels (e.g., PDF/A), and controlling hidden slides and notes.
using Slidize;
var options = new PdfConverterOptions
{
ComplianceLevel = PdfComplianceLevel.PdfA1b,
EmbedFullFonts = true
};
PresentationToPdfConverter.Process("presentation.pptx", "output.pdf", options);
Convert PowerPoint to PNG
Exporting slides as high-quality PNG images is useful for creating slide previews, embedding them in reports, or sharing individual slide images. Slidize.Plugins allows you to control the resolution, size, and scale of the images produced. This ensures that your output fits the exact dimensions and quality required for your project.
using Slidize;
var options = new ImageConverterOptions
{
ImageWidth = 960,
ImageHeight = 720
};
PresentationToPngConverter.Process("presentation.pptx", "output.png", options);
Convert PowerPoint to HTML
Converting presentations to HTML enables embedding slides in web pages, providing easy access and sharing for presentations in a browser-friendly format. The Slidize.Plugins library allows customization of the HTML export, such as scaling images, and even handling hidden slides. This is ideal for users who need to distribute presentations online while maintaining slide quality and structure.
using Slidize;
var options = new HtmlConverterOptions
{
PicturesCompression = PicturesCompressionLevel.Dpi330,
SlideImageScale = 2f
};
PresentationToHtmlConverter.Process("presentation.pptx", "output.html", options);
Convert PowerPoint to Other Presentation Formats
In addition to exporting to image and document formats, Slidize.Plugins supports converting PowerPoint presentations to a variety of presentation file formats, such as PPTX, PPSX, ODP, and more. This is especially useful for users who need to transition presentations between different platforms or software environments. The ability to convert to OpenDocument Presentation (ODP) format ensures compatibility with open-source tools, while converting to macro-enabled formats like PPTM retains functionality for presentations with embedded macros.
using Slidize;
// Convert to PPTX
PresentationConverter.Process("presentation.ppt", "output.pptx", ConvertFormat.Pptx);
// Convert to ODP
PresentationConverter.Process("presentation.pptx", "output.odp", ConvertFormat.Odp);
Merge PowerPoint Files
Merging multiple PowerPoint presentations into a single file is a valuable feature for users managing large presentations or combining content from different sources. The Slidize.Plugins package provides an easy way to merge files with minimal effort. This functionality supports combining PowerPoint presentations in both the legacy and modern formats.
using Slidize;
string[] presentations = { "presentation1.pptx", "presentation2.pptx" };
PresentationMerger.Process(presentations, "merged.pptx");
Advanced Export Options
The library offers extensive control over how presentations are exported. You can customize the output with advanced options, such as setting the image scale, specifying compression levels for images, and choosing how notes and comments are displayed in the final output. Here's an example of exporting a presentation with custom options:
using Slidize;
var options = new PdfConverterOptions
{
ComplianceLevel = PdfComplianceLevel.PdfA1b,
SlidesViewOptions = new NotesCommentsViewOptions
{
NotesPosition = NotesPositions.BottomFull,
CommentsPosition = CommentsPositions.Right
}
};
PresentationToPdfConverter.Process("presentation.pptx", "output_with_notes.pdf", options);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
-
net6.0
- System.Drawing.Common (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
24.11.0 | 66 | 11/25/2024 |