# LatexWriterOptions

Options for source-backed LaTeX writing.

Class 

`OfficeIMO.Latex`

**Namespace**

`OfficeIMO.Latex`

**Assembly**

`OfficeIMO.Latex`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[LatexWriter.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Writing/LatexWriter.cs#L14)

**Modifiers**

sealed

Options for source-backed LaTeX writing.

## Inheritance

- object
- LatexWriterOptions

## Usage

Explore 4 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 4

- Method [LatexDocument.Save](/api/latex/officeimo-latex-latexdocument/#method-save-string-officeimo-latex-latexwriteroptions-text-encoding) parameter `options`
- Method [LatexDocument.SaveAsync](/api/latex/officeimo-latex-latexdocument/#method-saveasync-string-officeimo-latex-latexwriteroptions-text-encoding-threading-cancellationtoken) parameter `options`
- Method [LatexDocument.ToBytes](/api/latex/officeimo-latex-latexdocument/#method-tobytes-officeimo-latex-latexwriteroptions-text-encoding) parameter `options`
- Method [LatexDocument.ToLatex](/api/latex/officeimo-latex-latexdocument/#method-tolatex-officeimo-latex-latexwriteroptions) parameter `options`

Filter members 

Show inherited

## Constructors

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

## 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 LatexWriterMode Mode { get; set; }` [#](#property-mode)

[LatexWriter.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Writing/LatexWriter.cs#L14)

Writer mode.

`public string? LineEnding { get; set; }` [#](#property-lineending)

[LatexWriter.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/Writing/LatexWriter.cs#L16)

Canonical line ending, or null to use the source preference.

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