ArcGIS Pro 3.8 API Reference Guide
ArcGIS.Desktop.Presentations Namespace / PresentationFactory Class / Instance Property
Example

In This Topic
    Instance Property (PresentationFactory)
    In This Topic
    Gets the singleton instance for IPresentationFactory
    Syntax
    public static IPresentationFactory Instance {get;}
    Public Shared ReadOnly Property Instance As IPresentationFactory
    Example
    Create presentation
    {
      await QueuedTask.Run(() =>
      {
        //Create a new presentation without parameters
        var presentationNew = PresentationFactory.Instance.CreatePresentation();
        // Use the new Presentation
    
        // Create a presentation specifying the name of the new presentation
        var presentationSpecifyName = PresentationFactory.Instance.CreatePresentation("New Presentation");
        // Use the new Presentation
      });
    }
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.5 or higher.
    See Also