Table of Contents

Class PdfStructAttributeSet

Namespace
nebulae.dotPDFium
Assembly
dotPDFium.dll
public sealed class PdfStructAttributeSet : PdfTaggedObject, IDisposable
Inheritance
PdfStructAttributeSet
Implements
Inherited Members

Properties

Count

Returns the number of attributes (key-value pairs) in the attribute dictionary.

public int Count { get; }

Property Value

int

Methods

CountChildren()

Returns the number of attributes (key-value pairs) in the structure element's attribute dictionary.

public int CountChildren()

Returns

int

GetKeyAt(int)

Gets the key name for the attribute at the given index.

public string? GetKeyAt(int index)

Parameters

index int

Zero-based index into the attribute set.

Returns

string

The key name as a string, or null if unavailable.

GetValue(string)

Attempts to get a named attribute from the dictionary.

public PdfStructAttributeValue? GetValue(string name)

Parameters

name string

The attribute key to retrieve.

Returns

PdfStructAttributeValue

A PdfStructAttributeValue if found; otherwise null.

GetValueAt(int)

Gets the attribute value object at the given index.

public PdfStructAttributeValue? GetValueAt(int index)

Parameters

index int

Zero-based index of the attribute child.

Returns

PdfStructAttributeValue

A PdfStructAttributeValue for the child, or null if not found.

TryGetBlobValue()

public byte[]? TryGetBlobValue()

Returns

byte[]