NotesSlidePart

Overview

NotesSlidePart is a class in Aspose.Slides FOSS for .NET.

Manages a notes slide XML part (ppt/notesSlides/notesSlideN.xml). Provides access to notes text and placeholder management.

This class provides 13 methods for working with NotesSlidePart objects in .NET programs. Available methods include: AddPlaceholder, BuildNotesXml, BuildPlaceholderShape, ComputeRelativeTarget, FindPlaceholder, GetNotesTxbody, GetSpTree, HasPlaceholder, Load, RemovePlaceholder, ResolveTarget, Save, and 1 additional methods. All exported members are accessible to any .NET application after installing the Aspose.Slides FOSS for .NET package. Properties: Name, PartName.

Description

NotesSlidePart is a class in the Aspose.Slides FOSS library for .NET that exposes 13 methods and 2 properties for programmatic use.

The class also provides the PartName property (gets the part name).

Properties

NameTypeAccessDescription
PartNamestringReadGets the part name.
NamestringRead/WriteGets or sets the name.

Methods

SignatureDescription
Load()Loads and parses the notes slide XML from the package.
GetSpTree()The spTree element, or null if not found.
FindPlaceholder(phType: string)The p:sp element, or null if not found.
GetNotesTxbody()The txBody element of the body placeholder, or null.
HasPlaceholder(phType: string)true if the placeholder exists; otherwise, false.
RemovePlaceholder(phType: string)The placeholder type string to remove.
AddPlaceholder(phType: string)The placeholder type string to add.
BuildPlaceholderShape(phType: string, shapeId: int)A new p:sp element.
SetPlaceholderText(phType: string, text: string)The text to set.
Save()Saves the notes slide XML back to the package.
ResolveTarget(target: string)The resolved absolute part name.
ComputeRelativeTarget(fromPart: string, toPart: string)A relative path string.
BuildNotesXml()UTF-8 encoded XML bytes.

See Also