Add section by name and slide.
Note: Only effect on .pptx/.potx file format,invalid other file format
Namespace:
Spire.Presentation
Assembly:
Spire.Presentation (in Spire.Presentation.dll) Version: 10.4.2.0 (10.4.2.6046)
Syntax
public Section Add(
string sectionName,
ISlide slide
)
Public Function Add (
sectionName As String,
slide As ISlide
) As Section
public:
Section^ Add(
String^ sectionName,
ISlide^ slide
)
member Add :
sectionName : string *
slide : ISlide -> Section
Parameters
-
sectionName
-
Type:
System
String
the name of section.
-
slide
-
Type:
Spire.Presentation
ISlide
the slide contained in the section.
Return Value
Type:
Section
See Also