Search Results for

    Show / Hide Table of Contents

    Class PresentationDocument

    Inheritance
    System.Object
    PresentationDocument
    Namespace: IronPPT
    Assembly: IronPPT.dll
    Syntax
    public class PresentationDocument : Object

    Constructors

    PresentationDocument()

    Declaration
    public PresentationDocument()

    PresentationDocument(IContentElement[])

    Declaration
    public PresentationDocument(params IContentElement[] children)
    Parameters
    Type Name Description
    IContentElement[] children

    PresentationDocument(String)

    Declaration
    public PresentationDocument(string filePath)
    Parameters
    Type Name Description
    System.String filePath

    Properties

    Images

    Declaration
    public List<Image> Images { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<Image>

    Paragraphs

    Declaration
    public List<Paragraph> Paragraphs { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<Paragraph>

    Shapes

    Declaration
    public List<Shape> Shapes { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<Shape>

    Slides

    Declaration
    public List<Slide> Slides { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<Slide>

    TextBoxes

    Declaration
    public List<TextBox> TextBoxes { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<TextBox>

    Texts

    Declaration
    public List<Text> Texts { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<Text>

    Methods

    AddImage(Image, Int32)

    Declaration
    public IImage AddImage(Image image, int slideIndex)
    Parameters
    Type Name Description
    Image image
    System.Int32 slideIndex
    Returns
    Type Description
    IImage

    AddImage(AnyBitmap, Int32)

    Declaration
    public IImage AddImage(AnyBitmap anyBitmap, int slideIndex)
    Parameters
    Type Name Description
    IronSoftware.Drawing.AnyBitmap anyBitmap
    System.Int32 slideIndex
    Returns
    Type Description
    IImage

    AddImage(Stream, Int32)

    Declaration
    public IImage AddImage(Stream imageStream, int slideIndex)
    Parameters
    Type Name Description
    System.IO.Stream imageStream
    System.Int32 slideIndex
    Returns
    Type Description
    IImage

    AddImage(String, Int32)

    Declaration
    public IImage AddImage(string imagePath, int slideIndex)
    Parameters
    Type Name Description
    System.String imagePath
    System.Int32 slideIndex
    Returns
    Type Description
    IImage

    AddParagraph(Paragraph)

    Declaration
    public Paragraph AddParagraph(Paragraph paragraph)
    Parameters
    Type Name Description
    Paragraph paragraph
    Returns
    Type Description
    Paragraph

    AddSlide(Slide)

    Declaration
    public Slide AddSlide(Slide slide = null)
    Parameters
    Type Name Description
    Slide slide
    Returns
    Type Description
    Slide

    AddText(Text)

    Declaration
    public Text AddText(Text text)
    Parameters
    Type Name Description
    Text text
    Returns
    Type Description
    Text

    AddText(String)

    Declaration
    public Text AddText(string text)
    Parameters
    Type Name Description
    System.String text
    Returns
    Type Description
    Text

    AddTextBox(Shape)

    Declaration
    public Shape AddTextBox(Shape shape)
    Parameters
    Type Name Description
    Shape shape
    Returns
    Type Description
    Shape

    LogObjectTree()

    Declaration
    public string LogObjectTree()
    Returns
    Type Description
    System.String

    Save(String)

    Declaration
    public void Save(string filePath)
    Parameters
    Type Name Description
    System.String filePath
    ☀
    ☾
    Downloads
    • Download with NuGet
    • Start for Free
    In This Article
    Back to top
    Install with NuGet
    Want to deploy IronPPT to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPPT free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.