Class
PdfKeyValueRow
OfficeIMO.Pdf
Represents one label/value row for generated document metadata, invoice facts, definition lists, and similar two-column PDF layouts.
Inheritance
- object
- PdfKeyValueRow
Usage
Explore 4 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
- Method PdfKeyValueRow.Rich
- Method PdfKeyValueRow.Text
Accepted by parameters 2
Constructors
PdfKeyValueRow 2 overloads
public PdfKeyValueRow(string? key, string? value) #Creates a plain text label/value row.
Parameters
- key string?
- value string?
public PdfKeyValueRow(IEnumerable<PdfTextRun> keyRuns, IEnumerable<PdfTextRun> valueRuns) #Creates a rich text label/value row.
Parameters
- keyRuns System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfTextRun>
- valueRuns System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfTextRun>
Methods
public static PdfKeyValueRow Rich(IEnumerable<PdfTextRun> keyRuns, IEnumerable<PdfTextRun> valueRuns) #Creates a rich text label/value row.
Parameters
- keyRuns System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfTextRun>
- valueRuns System.Collections.Generic.IEnumerable<OfficeIMO.Pdf.PdfTextRun>
Returns
PdfKeyValueRowpublic static PdfKeyValueRow Text(string? key, string? value) #Creates a plain text label/value row.
Parameters
- key string?
- value string?
Returns
PdfKeyValueRow