# AsciiDocWriterOptions

Options controlling AsciiDoc writing.

Class 

`OfficeIMO.AsciiDoc`

**Namespace**

`OfficeIMO.AsciiDoc`

**Assembly**

`OfficeIMO.AsciiDoc`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[AsciiDocWriterOptions.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Writing/AsciiDocWriterOptions.cs#L13)

**Modifiers**

sealed

Options controlling AsciiDoc writing.

## Inheritance

- object
- AsciiDocWriterOptions

## 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 [AsciiDocDocument.Save](/api/ascii-doc/officeimo-asciidoc-asciidocdocument/#method-save-string-officeimo-asciidoc-asciidocwriteroptions-text-encoding) parameter `options`
- Method [AsciiDocDocument.SaveAsync](/api/ascii-doc/officeimo-asciidoc-asciidocdocument/#method-saveasync-string-officeimo-asciidoc-asciidocwriteroptions-text-encoding-threading-cancellationtoken) parameter `options`
- Method [AsciiDocDocument.ToAsciiDoc](/api/ascii-doc/officeimo-asciidoc-asciidocdocument/#method-toasciidoc-officeimo-asciidoc-asciidocwriteroptions) parameter `options`
- Method [AsciiDocDocument.ToBytes](/api/ascii-doc/officeimo-asciidoc-asciidocdocument/#method-tobytes-officeimo-asciidoc-asciidocwriteroptions-text-encoding) parameter `options`

Filter members 

Show inherited

## Constructors

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

[AsciiDocWriterOptions.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.AsciiDoc/Writing/AsciiDocWriterOptions.cs#L13)

Writer mode. Defaults to source preservation.

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

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

Canonical output line ending. Null uses the source document's preferred line ending.

<!-- PowerForge markdown artifact sha256:3423095F534470716FAD8A07820BF2731C450109ADC8489ADE60B5EC2AFD365B -->
