API Reference

Class

PdfKeyValueRow

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Represents one label/value row for generated document metadata, invoice facts, definition lists, and similar two-column PDF layouts.

Inheritance

  • Object
  • PdfKeyValueRow

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

PdfKeyValueRow 2 overloads
public PdfKeyValueRow(String key, String value) #

Creates a plain text label/value row.

Parameters

key System.String requiredposition: 0
value System.String requiredposition: 1
public PdfKeyValueRow(IEnumerable<TextRun> keyRuns, IEnumerable<TextRun> valueRuns) #

Creates a rich text label/value row.

Parameters

keyRuns System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.TextRun} requiredposition: 0
valueRuns System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.TextRun} requiredposition: 1

Methods

public static PdfKeyValueRow Rich(IEnumerable<TextRun> keyRuns, IEnumerable<TextRun> valueRuns) #
Returns: PdfKeyValueRow

Creates a rich text label/value row.

Parameters

keyRuns System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.TextRun} requiredposition: 0
valueRuns System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.TextRun} requiredposition: 1
public static PdfKeyValueRow Text(String key, String value) #
Returns: PdfKeyValueRow

Creates a plain text label/value row.

Parameters

key System.String requiredposition: 0
value System.String requiredposition: 1

Properties

public IReadOnlyList<TextRun> KeyRuns { get; } #

Rich text runs used by the label cell.

public IReadOnlyList<TextRun> ValueRuns { get; } #

Rich text runs used by the value cell.