# PdfCanvasStructureOptions

Optional accessibility attributes for a canvas structure container.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfCanvasStructureOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCanvasStructureOptions.cs#L9)

**Modifiers**

sealed

Optional accessibility attributes for a canvas structure container.

## Inheritance

- object
- PdfCanvasStructureOptions

## Usage

Explore 2 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 [PdfCanvasStructureOptions.AddAssociatedFile](/api/pdf/officeimo-pdf-pdfcanvasstructureoptions/#method-addassociatedfile-officeimo-pdf-pdfembeddedfile)

### Accepted by parameters 1

- Method [PdfPageCanvas.Structure](/api/pdf/officeimo-pdf-pdfpagecanvas/#method-structure-officeimo-pdf-pdfcanvasstructurerole-action-officeimo-pdf-pdfpagecanvas-officeimo-pdf-pdfcanvasstructureoptions) parameter `options`

Filter members 

Show inherited

## Constructors

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

[PdfCanvasStructureOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCanvasStructureOptions.cs#L9)

## Methods

`public PdfCanvasStructureOptions AddAssociatedFile(PdfEmbeddedFile file)` [#](#method-addassociatedfile-officeimo-pdf-pdfembeddedfile)

[PdfCanvasStructureOptions.cs:114](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCanvasStructureOptions.cs#L114)

Associates a snapshot of an embedded file with this structure element.

Parameters

**file OfficeIMO.Pdf.PdfEmbeddedFile required**

Returns

`PdfCanvasStructureOptions`

Exceptions

- `InvalidDataException` – The payload or projected structure collection exceeds its configured byte limit.

## 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 PdfListNumbering? ListNumbering { get; set; }` [#](#property-listnumbering)

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

Semantic label style for a List container. Null leaves the attribute unspecified.

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

[PdfCanvasStructureOptions.cs:36](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCanvasStructureOptions.cs#L36)

Alternative text associated with the structure container.

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

[PdfCanvasStructureOptions.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCanvasStructureOptions.cs#L46)

Optional language tag for this structure and its descendants, for example "fr-FR". Null inherits the parent language.

`public PdfCanvasTableHeaderScope? HeaderScope { get; set; }` [#](#property-headerscope)

[PdfCanvasStructureOptions.cs:60](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCanvasStructureOptions.cs#L60)

Row, column, or combined scope for a table-header cell.

`public int ColumnSpan { get; set; }` [#](#property-columnspan)

[PdfCanvasStructureOptions.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCanvasStructureOptions.cs#L71)

Number of table columns occupied by a tagged cell.

`public int RowSpan { get; set; }` [#](#property-rowspan)

[PdfCanvasStructureOptions.cs:77](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCanvasStructureOptions.cs#L77)

Number of table rows occupied by a tagged cell.

`public long MaxAssociatedFileBytes { get; set; }` [#](#property-maxassociatedfilebytes)

[PdfCanvasStructureOptions.cs:84](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCanvasStructureOptions.cs#L84)

Maximum payload bytes in each file admitted to this structure element. Defaults to 128 MiB.

`public long MaxTotalAssociatedFileBytes { get; set; }` [#](#property-maxtotalassociatedfilebytes)

[PdfCanvasStructureOptions.cs:95](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCanvasStructureOptions.cs#L95)

Maximum aggregate payload bytes admitted to this structure element. Defaults to 256 MiB.

`public IReadOnlyList<PdfEmbeddedFile> AssociatedFiles { get; }` [#](#property-associatedfiles)

[PdfCanvasStructureOptions.cs:104](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Model/PdfCanvasStructureOptions.cs#L104)

Files associated with this structure element. Returned descriptions and payloads are independent copies.

<!-- PowerForge markdown artifact sha256:7013C89D760085F00F10906D57FBE2CD58F97DDBE3E66A61259F874A0A0C47EB -->
