Ir para o conteúdo
OFFICE · COMPLETE

PresentationEditor

Crie e edite apresentações no navegador; abre e salva arquivos PowerPoint e OpenDocument.

Crie e edite apresentações no navegador, abrindo e salvando arquivos PowerPoint e OpenDocument.

Por que ajuda

  • Abre e salva .pptx, .ppt, .odp
  • Slides, formas e gráficos
  • Apresentação de slides

Onde se encaixa

  • Apresentações comerciais
  • Treinamento
  • Relatórios
O controle PresentationEditor em uma página do RayCraft

Exemplo

<PresentationEditor Presentation="_deck" Height="24rem" ReadOnly="true" ShowMenuBar="false" ShowNotes="false" ShowStatusBar="false" />

@code {
    private readonly Presentation _deck = BuildDeck();

    private static Presentation BuildDeck()
    {
        var p = new Presentation();
        var title = p.CreateSlide(SlideLayout.TitleSlide);
        ((AutoShape)title.Elements[0]).Paragraphs = [TextParagraph.Of("Read-only deck", align: TextAlign.Center)];
        ((AutoShape)title.Elements[1]).Paragraphs = [TextParagraph.Of("Browse, present and print", align: TextAlign.Center)];
        p.Slides.Add(title);

        var content = p.CreateSlide(SlideLayout.TitleAndContent);
        ((AutoShape)content.Elements[0]).Paragraphs = [TextParagraph.Of("Nothing can be changed")];
        ((AutoShape)content.Elements[1]).Paragraphs =
        [
            new TextParagraph { Bullet = BulletKind.Bullet, Runs = [new TextRun { Text = "The slide list and the slide show work" }] },
            new TextParagraph { Bullet = BulletKind.Bullet, Runs = [new TextRun { Text = "Saving and printing work" }] }
        ];
        p.Slides.Add(content);
        return p;
    }
}

Um pequeno trecho. Adicione @using RayCraft.Blazor.Components à sua página e use um modo de renderização interativo.

Faz parte do RayCraft Complete.

Todos os controles ยท Documentação