ArcGIS Pro 3.5 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / PresentationExportOptions Class
Members Example

In This Topic
    PresentationExportOptions Class
    In This Topic
    Represents a collection of settings for exporting a presentation.
    Syntax
    public class PresentationExportOptions 
    Public Class PresentationExportOptions 
    Remarks
    Before you can export a presentation, you need to configure your ExportFormat and construct export settings.
    Example
    Export a presentation
    //Note: Call within QueuedTask.Run()
    await QueuedTask.Run(() =>
    {
      //Create mp4 format with appropriate settings
      MP4VideoFormat mp4Format = new MP4VideoFormat();
      mp4Format.Width = 800;
      mp4Format.Height = 600;
      mp4Format.OutputFileName = @"my folder\presentation.mp4";
    
      //Define Export Options
      PresentationExportOptions options = new PresentationExportOptions
      {
        PageRangeOption = ExportPageOptions.ExportByPageRange,
        CustomPages = "1,2,8"
      };
    
      //export as mp4
      presentation.Export(mp4Format, options);
    });
    Inheritance Hierarchy

    System.Object
       ArcGIS.Desktop.Presentations.PresentationExportOptions

    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.5 or higher.
    See Also