VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Pptx Namespace / PptxDocument Class / PptxDocument Constructors / PptxDocument Constructor(String,FileMode,FileAccess,DocumentLayoutSettings)
Syntax Exceptions Requirements SeeAlso
In This Topic
    PptxDocument Constructor(String,FileMode,FileAccess,DocumentLayoutSettings)
    In This Topic
    Initializes a new instance of the PptxDocument class.
    Syntax
    'Declaration
    
    Public Function New( _
    ByVal filename
    The name of the PPTX file.
    As System.String, _
    ByVal mode
    A FileMode constant that determines how to open or create the PPTX file.
    As System.IO.FileMode, _
    ByVal access
    A FileAccess constant that determines how the image file can be accessed.
    As System.IO.FileAccess, _
    ByVal layoutSettings
    The document layout settings.
    As Vintasoft.Imaging.Codecs.Decoders.DocumentLayoutSettings _
    )

    Parameters

    filename
    The name of the PPTX file.
    mode
    A FileMode constant that determines how to open or create the PPTX file.
    access
    A FileAccess constant that determines how the image file can be accessed.
    layoutSettings
    The document layout settings.
    Exceptions
    ExceptionDescription
    Thrown if filename is null.
    Thrown if mode or access is not supported.
    Requirements

    Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also