Skip to content

Instantly share code, notes, and snippets.

@conholdate-gists
conholdate-gists / introduction_converting_powerpoint_presentations_p.cs
Created December 16, 2025 20:53
Convert PPTX to Markdown C# using Conholdate.Total for .NET
using Conholdate.Total;
using Conholdate.Total.Presentation;
using System;
using System.IO;
namespace PptxToMarkdownDemo
{
class Program
{
static void Main(string[] args)
@conholdate-gists
conholdate-gists / introduction_converting_powerpoint_presentations_t.cs
Created December 16, 2025 11:41
Convert PPTX to Markdown with Conholdate.Total for .NET
// Convert PPTX to Markdown - Complete Code Example
using System;
using Conholdate.Total.Slides;
namespace PptxToMarkdownDemo
{
class Program
{
static void Main(string[] args)
{
@conholdate-gists
conholdate-gists / introduction_powerpoint_presentations_are_great_fo.cs
Created December 16, 2025 10:46
Convert PPTX to Markdown with Conholdate.Total for .NET
using System;
using Conholdate.Total.Slides; // Namespace for presentation handling
namespace PptxToMarkdownDemo
{
class Program
{
static void Main(string[] args)
{
// Path to the source PPTX file
@conholdate-gists
conholdate-gists / introduction_converting_powerpoint_presentations_t.cs
Created December 16, 2025 10:40
Convert PPTX to Markdown with Conholdate.Total for .NET
using System;
using System.IO;
using Conholdate.Total;
using Conholdate.Total.Presentation;
using Conholdate.Total.Presentation.Export;
class Program
{
static void Main(string[] args)
{
@conholdate-gists
conholdate-gists / introduction_converting_powerpoint_presentations_t.cs
Created December 16, 2025 10:18
Convert PPTX to Markdown with Conholdate.Total for .NET
using System;
using Conholdate.Total.Document;
namespace PptxToMarkdownDemo
{
class Program
{
static void Main(string[] args)
{
// Validate arguments
@conholdate-gists
conholdate-gists / introduction_converting_powerpoint_presentations_t.cs
Created December 16, 2025 10:10
Convert PPTX to Markdown with Conholdate.Total for .NET
using System;
using Conholdate.Total; // Namespace for the conversion library
namespace PptxToMarkdownDemo
{
class Program
{
static void Main(string[] args)
{
// Path to the source PPTX file
@conholdate-gists
conholdate-gists / introduction_converting_presentation_slides_to_ima.java
Created December 10, 2025 10:15
Convert PPTX to JPEG with Conholdate.Total for Java
import com.aspose.slides.ImageSaveOptions;
import com.aspose.slides.Presentation;
import com.aspose.slides.SaveFormat;
public class PptxToJpeg {
public static void main(String[] args) {
// Path to the source PPTX file
String sourcePath = "input.pptx";
// Output folder for JPEG images
String outputFolder = "output/";
@conholdate-gists
conholdate-gists / introduction_converting_powerpoint_presentations_t.cs
Created December 10, 2025 08:44
Convert PPTX to PNG with Conholdate.Total for .NET
using System;
using System.IO;
using Conholdate.Total.Slides;
class Program
{
static void Main()
{
// Path to the source PPTX file
string inputPath = "sample.pptx";
@conholdate-gists
conholdate-gists / introduction_converting_powerpoint_slides_to_jpeg_.cs
Created December 10, 2025 08:35
Convert PPT to JPG with Conholdate.Total for .NET
// Convert PPT to JPG - Complete Code Example
using System;
using System.Drawing;
using System.Drawing.Imaging;
using Conholdate.Total.Slides; // Namespace for presentation handling
namespace PptToJpgDemo
{
class Program
{
@conholdate-gists
conholdate-gists / introduction_converting_photoshop_files_to_webfrie.java
Created December 10, 2025 08:11
Convert PSD to PNG with Conholdate.Total for Java
import com.aspose.total.Image;
import com.aspose.total.ImageLoadOptions;
import com.aspose.total.ImageSaveOptions;
import com.aspose.total.fileformats.png.PngOptions;
public class PsdToPng {
public static void main(String[] args) throws Exception {
// Path to the source PSD file
String sourcePath = "input.psd";