API Reference
Class
PdfKeyValueRow
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
- Method PdfKeyValueRow.Rich
- Method PdfKeyValueRow.Text
Accepted by parameters
- Method PdfDocument.KeyValueTable
Constructors
PdfKeyValueRow 2 overloads
public PdfKeyValueRow(String key, String value) #Creates a plain text label/value row.
Parameters
- key System.String
- value System.String
public PdfKeyValueRow(IEnumerable<TextRun> keyRuns, IEnumerable<TextRun> valueRuns) #Creates a rich text label/value row.
Parameters
- keyRuns System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.TextRun}
- valueRuns System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.TextRun}
Methods
public static PdfKeyValueRow Rich(IEnumerable<TextRun> keyRuns, IEnumerable<TextRun> valueRuns) #Returns:
PdfKeyValueRowCreates a rich text label/value row.
Parameters
- keyRuns System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.TextRun}
- valueRuns System.Collections.Generic.IEnumerable{OfficeIMO.Pdf.TextRun}
public static PdfKeyValueRow Text(String key, String value) #Returns:
PdfKeyValueRowCreates a plain text label/value row.
Parameters
- key System.String
- value System.String