Class Section
Represents a named section that groups one or more slides in a presentation.
Inherited Members
Namespace: DRIT.Presentation
Assembly: DRIT.Presentation.dll
Syntax
public class Section
Properties
Id
Gets the unique identifier of the section (GUID in brace format).
Declaration
public string Id { get; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Gets or sets the display name of the section.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SlideCount
Returns the number of slides assigned to this section.
Declaration
public int SlideCount { get; }
Property Value
| Type | Description |
|---|---|
| int |
Methods
AddSlide(Slide)
Includes slide in this section.
If the slide is already assigned it is not added a second time.
Declaration
public void AddSlide(Slide slide)
Parameters
| Type | Name | Description |
|---|---|---|
| Slide | slide |
RemoveSlide(Slide)
Removes slide from this section.
Returns true if the slide was present.
Declaration
public bool RemoveSlide(Slide slide)
Parameters
| Type | Name | Description |
|---|---|---|
| Slide | slide |
Returns
| Type | Description |
|---|---|
| bool |