Public Class MP4VideoFormat Inherits VideoFormatBase
public class MP4VideoFormat : VideoFormatBase
Public Class MP4VideoFormat Inherits VideoFormatBase
public class MP4VideoFormat : VideoFormatBase
{
//Note: Call within 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);
}
System.Object
ArcGIS.Desktop.Mapping.ExportFormat
ArcGIS.Desktop.Mapping.VideoFormatBase
ArcGIS.Desktop.Mapping.MP4VideoFormat
Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)