# PdfTextShapingDiagnostic

Describes text that can be written only through OfficeIMO.Pdf's current simplified scalar text path.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfTextShapingDiagnostic.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTextShapingDiagnostic.cs#L50)

**Modifiers**

sealed

Describes text that can be written only through OfficeIMO.Pdf's current simplified scalar text path.

## Inheritance

- object
- PdfTextShapingDiagnostic

## 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.

### Returned or exposed by 1

- Method [PdfEmbeddedFontFallbackSet.AnalyzeAdvancedTextLayout](/api/pdf/officeimo-pdf-pdfembeddedfontfallbackset/#method-analyzeadvancedtextlayout-string-string-officeimo-pdf-pdftextshapingmode)

Filter members 

Show inherited

## Methods

`public PdfConversionWarning ToConversionWarning(string converter = "OfficeIMO.Pdf")` [#](#method-toconversionwarning-string)

[PdfTextShapingDiagnostic.cs:50](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTextShapingDiagnostic.cs#L50)

Converts this shaping diagnostic to the shared conversion warning shape used by PDF adapters.

Parameters

**converter string = "OfficeIMO.Pdf" optional**

Converter or adapter name to place on the warning.

Returns

`PdfConversionWarning` A shared conversion warning carrying this diagnostic and stable details.

## 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 string Source { get; }` [#](#property-source)

[PdfTextShapingDiagnostic.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTextShapingDiagnostic.cs#L22)

Caller-provided source label such as a block, field, sheet, slide, or converter area.

`public int Index { get; }` [#](#property-index)

[PdfTextShapingDiagnostic.cs:25](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTextShapingDiagnostic.cs#L25)

UTF-16 index of the first scalar requiring advanced text layout support.

`public string CodePoint { get; }` [#](#property-codepoint)

[PdfTextShapingDiagnostic.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTextShapingDiagnostic.cs#L28)

Unicode code point formatted as U+XXXX or U+XXXXX.

`public string Text { get; }` [#](#property-text)

[PdfTextShapingDiagnostic.cs:31](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTextShapingDiagnostic.cs#L31)

Scalar text that triggered the diagnostic.

`public string Script { get; }` [#](#property-script)

[PdfTextShapingDiagnostic.cs:34](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTextShapingDiagnostic.cs#L34)

Script, feature, or layout family that requires advanced shaping or bidirectional layout.

`public string Code { get; }` [#](#property-code)

[PdfTextShapingDiagnostic.cs:37](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTextShapingDiagnostic.cs#L37)

Stable warning code suitable for shared conversion reports.

`public string Message { get; }` [#](#property-message)

[PdfTextShapingDiagnostic.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfTextShapingDiagnostic.cs#L40)

Human-readable diagnostic message.

<!-- PowerForge markdown artifact sha256:64A5A77C200E9DD78D88E35142AC49A1D8129559AC2E0FB9AC0F3DC5C4EC6F81 -->
