Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

PdfKeyValueRow

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Source revision 804a7612eee4 with working tree changes
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

Explore 3 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 2

Accepted by parameters 1

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<PdfTextRun> keyRuns, IEnumerable<PdfTextRun> valueRuns) #

Creates a rich text label/value row.

Parameters

keyRuns System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfTextRun> requiredposition: 0
valueRuns System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfTextRun> requiredposition: 1

Methods

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

Creates a rich text label/value row.

Parameters

keyRuns System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfTextRun> requiredposition: 0
valueRuns System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfTextRun> 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<PdfTextRun> KeyRuns { get; } #

Rich text runs used by the label cell.

public IReadOnlyList<PdfTextRun> ValueRuns { get; } #

Rich text runs used by the value cell.