Class SlideText
- Namespace
- Slidize
- Assembly
- Slidize.Plugins.dll
Represents the text extracted from the presentation slide.
public sealed class SlideText
- Inheritance
-
SlideText
- Inherited Members
Examples
The following example shows how to extract text from the PowerPoint document in the Arranged mode.
[C#]
SlideText[] slidesText = PresentationTextExtractor.Process("pres.pptx", TextExtractionMode.Arranged);
foreach(var slideText in slidesText)
{
// Print the text extracted from the slide
Console.WriteLine(slideText.Text);
// Print the text extracted from the master of the slide
Console.WriteLine(slideText.MasterText);
// Print the text extracted from the layout of the slide
Console.WriteLine(slideText.LayoutText);
// Print the notes text extracted from the slide
Console.WriteLine(slideText.NotesText);
// Print the comments text extracted from the slide
Console.WriteLine(slideText.CommentsText);
}
Properties
CommentsText
The text from the slide comments.
public string CommentsText { get; }
Property Value
LayoutText
The text from the layout shapes for this slide.
public string LayoutText { get; }
Property Value
MasterText
The text from the master shapes for this slide.
public string MasterText { get; }
Property Value
NotesText
The text from the slide notes.
public string NotesText { get; }
Property Value
Text
The text from the slide shapes.
public string Text { get; }