# PdfLogicalElementKind

Logical PDF element categories exposed by the first-party read model.

Enum 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfDocumentReadResult.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfDocumentReadResult.cs#L6)

**Base**

`Enum`

**Implements**

`IComparable` `ISpanFormattable` `IFormattable` `IConvertible`

**Modifiers**

sealed

Logical PDF element categories exposed by the first-party read model.

## Inheritance

- Enum
- PdfLogicalElementKind

## Usage

Explore 27 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 22

- Property [IPdfLogicalElement.Kind](/api/pdf/officeimo-pdf-ipdflogicalelement/#property-kind)
- Property [PdfDocumentReadResult.ElementsByKind](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#property-elementsbykind)
- Field [PdfLogicalElementKind.Caption](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-caption)
- Field [PdfLogicalElementKind.Footer](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-footer)
- Field [PdfLogicalElementKind.Footnote](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-footnote)
- Field [PdfLogicalElementKind.FormWidget](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-formwidget)
- Field [PdfLogicalElementKind.Header](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-header)
- Field [PdfLogicalElementKind.Heading](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-heading)
- Field [PdfLogicalElementKind.Image](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-image)
- Field [PdfLogicalElementKind.LeaderRow](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-leaderrow)
- Field [PdfLogicalElementKind.LinkAnnotation](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-linkannotation)
- Field [PdfLogicalElementKind.ListItem](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-listitem)
- Field [PdfLogicalElementKind.Table](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-table)
- Field [PdfLogicalElementKind.TextBlock](/api/pdf/officeimo-pdf-pdflogicalelementkind/#field-textblock)
- Property [PdfLogicalFormWidget.Kind](/api/pdf/officeimo-pdf-pdflogicalformwidget/#property-kind)
- Property [PdfLogicalImage.Kind](/api/pdf/officeimo-pdf-pdflogicalimage/#property-kind)
- Property [PdfLogicalLeaderRow.Kind](/api/pdf/officeimo-pdf-pdflogicalleaderrow/#property-kind)
- Property [PdfLogicalLinkAnnotation.Kind](/api/pdf/officeimo-pdf-pdflogicallinkannotation/#property-kind)
- Property [PdfLogicalPage.ElementsByKind](/api/pdf/officeimo-pdf-pdflogicalpage/#property-elementsbykind)
- Property [PdfLogicalTable.Kind](/api/pdf/officeimo-pdf-pdflogicaltable/#property-kind)
- Property [PdfLogicalTextBlock.Kind](/api/pdf/officeimo-pdf-pdflogicaltextblock/#property-kind)
- Property [PdfRedactionSearchOptions.LogicalElementKinds](/api/pdf/officeimo-pdf-pdfredactionsearchoptions/#property-logicalelementkinds)

### Accepted by parameters 5

- Method [PdfDocumentReadResult.GetElements](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-getelements-officeimo-pdf-pdflogicalelementkind) parameter `kind`
- Method [PdfDocumentReadResult.HasElementKind](/api/pdf/officeimo-pdf-pdfdocumentreadresult/#method-haselementkind-officeimo-pdf-pdflogicalelementkind) parameter `kind`
- Method [PdfLogicalPage.GetElements](/api/pdf/officeimo-pdf-pdflogicalpage/#method-getelements-officeimo-pdf-pdflogicalelementkind) parameter `kind`
- Method [PdfLogicalPage.HasElementKind](/api/pdf/officeimo-pdf-pdflogicalpage/#method-haselementkind-officeimo-pdf-pdflogicalelementkind) parameter `kind`
- Method [PdfRedactionSearchOptions.AddLogicalKind](/api/pdf/officeimo-pdf-pdfredactionsearchoptions/#method-addlogicalkind-officeimo-pdf-pdflogicalelementkind) parameter `kinds`

Filter members 

Show inherited

## Inherited Methods

`public int CompareTo(object? target)` [#](#method-compareto-object)

Inherited from Enum

Parameters

**target object? required**

Returns

`int`

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

Inherited from Enum

Parameters

**obj object? required**

Returns

`bool`

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

Inherited from Enum

Returns

`int`

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

Inherited from object

Returns

`Type`

`public TypeCode GetTypeCode()` [#](#method-gettypecode)

Inherited from Enum

Returns

`TypeCode`

`public bool HasFlag(Enum flag)` [#](#method-hasflag-enum)

Inherited from Enum

Parameters

**flag Enum required**

Returns

`bool`

ToString 4 overloads

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

Inherited from Enum

Returns

`string`

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

Inherited from Enum

Parameters

**format string? required**

Returns

`string`

`public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString() instead.")`

Parameters

**provider IFormatProvider? required**

Returns

`string`

`public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider)

Inherited from Enum

`Obsolete("The provider argument is not used. Use ToString(String) instead.")`

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

`string`

## Values

`public const PdfLogicalElementKind TextBlock` [#](#field-textblock)

[PdfDocumentReadResult.cs:8](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfDocumentReadResult.cs#L8)

Line-level text recovered from positioned PDF text spans.

Value: `0`

`public const PdfLogicalElementKind Heading` [#](#field-heading)

[PdfDocumentReadResult.cs:10](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfDocumentReadResult.cs#L10)

Heuristic heading line inferred from text size and geometry.

Value: `1`

`public const PdfLogicalElementKind ListItem` [#](#field-listitem)

[PdfDocumentReadResult.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfDocumentReadResult.cs#L12)

Detected bullet or numbered list item.

Value: `2`

`public const PdfLogicalElementKind LeaderRow` [#](#field-leaderrow)

[PdfDocumentReadResult.cs:14](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfDocumentReadResult.cs#L14)

Detected leader row such as label plus dotted value.

Value: `3`

`public const PdfLogicalElementKind Table` [#](#field-table)

[PdfDocumentReadResult.cs:16](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfDocumentReadResult.cs#L16)

Detected table-like region.

Value: `4`

`public const PdfLogicalElementKind Image` [#](#field-image)

[PdfDocumentReadResult.cs:18](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfDocumentReadResult.cs#L18)

Image XObject referenced by the page.

Value: `5`

`public const PdfLogicalElementKind LinkAnnotation` [#](#field-linkannotation)

[PdfDocumentReadResult.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfDocumentReadResult.cs#L20)

URI, named-destination, direct-destination, named-action, or remote GoTo link annotation on the page.

Value: `6`

`public const PdfLogicalElementKind FormWidget` [#](#field-formwidget)

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

AcroForm widget annotation on the page.

Value: `7`

`public const PdfLogicalElementKind Header` [#](#field-header)

[PdfDocumentReadResult.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfDocumentReadResult.cs#L24)

Document-wide repeated or explicitly identified page header.

Value: `8`

`public const PdfLogicalElementKind Footer` [#](#field-footer)

[PdfDocumentReadResult.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfDocumentReadResult.cs#L26)

Document-wide repeated or explicitly identified page footer.

Value: `9`

`public const PdfLogicalElementKind Caption` [#](#field-caption)

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

Caption associated with nearby visual or tabular content.

Value: `10`

`public const PdfLogicalElementKind Footnote` [#](#field-footnote)

[PdfDocumentReadResult.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Logical/PdfDocumentReadResult.cs#L30)

Footnote text identified by geometry and typography.

Value: `11`

<!-- PowerForge markdown artifact sha256:4DA8602CA24791205243435861A84B91430E89B6C560A895E6BB0C51024E8201 -->
