# Speaker Notes

addNotes(): attach speaker notes to any slide.

```csharp
using NetCorePpt;                  // PptxGen, Slide
using NetCorePpt.CoreInterfaces;   // option objects: TextProps* / ShapeProps / ImageProps / TableProps / HAlign / VAlign ...
using NetCorePpt.CoreEnums;        // ShapeType, ChartType, MediaType, ShadowType, BulletType, DashType, SCHEME_COLORS ...
using TableRow = System.Collections.Generic.List<NetCorePpt.CoreInterfaces.TableCell>;
```

Speaker Notes can be included on any Slide.

## Syntax

**PptxGenJS · typescript**

```typescript
slide.addNotes('TEXT');
```

**NetCorePpt · C#**

```csharp
slide.addNotes("TEXT");
```

## Example: JavaScript

**PptxGenJS · typescript**

```typescript
let pres = new PptxGenJS();
let slide = pptx.addSlide();

slide.addText('Hello World!', { x:1.5, y:1.5, fontSize:18, color:'363636' });

slide.addNotes('This is my favorite slide!');

pptx.writeFile('Sample Speaker Notes');
```

**NetCorePpt · C#**

```csharp
// NOTE: the upstream sample declares `pres` but then calls `pptx` - kept as `pptx` here.
var pptx = new PptxGen();
var slide = pptx.addSlide();

slide.addText("Hello World!", new TextPropsOptions { x = 1.5, y = 1.5, fontSize = 18, color = "363636" });

slide.addNotes("This is my favorite slide!");

await pptx.exportToFile("Sample Speaker Notes");
```
