# ReaderSubtitleOptions

Controls bounded SRT and WebVTT projection.

Class 

`OfficeIMO.Reader.Subtitles`

**Namespace**

`OfficeIMO.Reader.Subtitles`

**Assembly**

`OfficeIMO.Reader.Subtitles`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[ReaderSubtitleOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Subtitles/ReaderSubtitleOptions.cs#L6)

**Modifiers**

sealed

Controls bounded SRT and WebVTT projection.

## Inheritance

- object
- ReaderSubtitleOptions

## Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [OfficeDocumentReaderBuilderSubtitleExtensions.AddSubtitleHandler](/api/reader-subtitles/officeimo-reader-subtitles-officedocumentreaderbuildersubtitleextensions/#method-addsubtitlehandler-officeimo-reader-officedocumentreaderbuilder-officeimo-reader-subtitles-readersubtitleoptions-boolean) parameter `subtitleOptions`

Filter members 

Show inherited

## Constructors

`public ReaderSubtitleOptions()` [#](#constructor-ctor)

[ReaderSubtitleOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Subtitles/ReaderSubtitleOptions.cs#L6)

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public bool IncludeTimestampsInMarkdown { get; set; }` [#](#property-includetimestampsinmarkdown)

[ReaderSubtitleOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Subtitles/ReaderSubtitleOptions.cs#L6)

Gets or sets whether cue timing is included in Markdown. Default: true.

`public bool StripCueMarkup { get; set; }` [#](#property-stripcuemarkup)

[ReaderSubtitleOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Subtitles/ReaderSubtitleOptions.cs#L9)

Gets or sets whether HTML/WebVTT cue markup is removed from text. Default: true.

`public int MaxCues { get; set; }` [#](#property-maxcues)

[ReaderSubtitleOptions.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Subtitles/ReaderSubtitleOptions.cs#L12)

Gets or sets the maximum number of cues emitted. Default: 50,000.

`public int MaxCueCharacters { get; set; }` [#](#property-maxcuecharacters)

[ReaderSubtitleOptions.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Reader.Subtitles/ReaderSubtitleOptions.cs#L15)

Gets or sets the maximum characters retained for one cue. Default: 32,000.

<!-- PowerForge markdown artifact sha256:A698A1989B2459F0C7842D7F9045466FB560D516BE094888BC7243149BE1C429 -->
