# LatexParseResult

Parse result and diagnostics. Review signatures, members, parameters, type relationships, and available reference details in OfficeIMO.Latex API Reference.

Class 

`OfficeIMO.Latex`

**Namespace**

`OfficeIMO.Latex`

**Assembly**

`OfficeIMO.Latex`

**Source revision**

`ba882f6b0d07` with working tree changes

**Source**

[LatexDocument.cs:188](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/LatexDocument.cs#L188)

**Implements**

`IOfficeResult<LatexDocument>` `IOfficeResult`

**Modifiers**

sealed

Parse result and diagnostics.

## Inheritance

- object
- LatexParseResult

## Usage

Explore 3 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.

### Returned or exposed by 3

- Method [LatexDocument.LoadResult](/api/latex/officeimo-latex-latexdocument/#method-loadresult-string-officeimo-latex-latexparseoptions-text-encoding)
- Method [LatexDocument.LoadResultAsync](/api/latex/officeimo-latex-latexdocument/#method-loadresultasync-string-officeimo-latex-latexparseoptions-text-encoding-threading-cancellationtoken)
- Method [LatexDocument.ParseResult](/api/latex/officeimo-latex-latexdocument/#method-parseresult-string-officeimo-latex-latexparseoptions)

Filter members 

Show inherited

## Methods

`public LatexDocument RequireValue()` [#](#method-requirevalue)

[LatexDocument.cs:188](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/LatexDocument.cs#L188)

Returns the produced value or throws when the operation did not complete.

Returns

`LatexDocument`

## 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 LatexDocument Document { get; }` [#](#property-document)

[LatexDocument.cs:182](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/LatexDocument.cs#L182)

Parsed document.

`public LatexDocument Value { get; }` [#](#property-value)

[LatexDocument.cs:184](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/LatexDocument.cs#L184)

Gets the produced value, or null when the operation did not complete.

`public bool Succeeded { get; }` [#](#property-succeeded)

[LatexDocument.cs:186](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/LatexDocument.cs#L186)

Gets whether the operation completed successfully.

`public IReadOnlyList<LatexDiagnostic> Diagnostics { get; }` [#](#property-diagnostics)

[LatexDocument.cs:190](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/LatexDocument.cs#L190)

Diagnostics.

`public bool IsLossless { get; }` [#](#property-islossless)

[LatexDocument.cs:192](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/LatexDocument.cs#L192)

True when complete source coverage is retained.

`public bool HasErrors { get; }` [#](#property-haserrors)

[LatexDocument.cs:194](https://github.com/EvotecIT/OfficeIMO/blob/ba882f6b0d07acddd884b5e7d3086b0cfff0a05a/OfficeIMO.Latex/LatexDocument.cs#L194)

True when an error diagnostic exists.

<!-- PowerForge markdown artifact sha256:1130D5DF0D7DCDD79767914311EBE6F8CD6EECCF0008A40B915278D03D22DABF -->
