API Reference
PdfTextFallbackPlan
Describes how text can be split across embedded fonts before generated PDF rendering.
Inheritance
- Object
- PdfTextFallbackPlan
Usage
Explore 2 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 1
Accepted by parameters 1
Methods
public IReadOnlyList<PdfTextRun> ToNamedTextRuns(IReadOnlyList<String> fontFamilyNames, PdfTextRun? styleTemplate = null) #IReadOnlyList<PdfTextRun>Converts a fully covered fallback plan into rich text runs assigned to registered named font families.
Parameters
- fontFamilyNames System.Collections.Generic.IReadOnlyList<System.String>
- Registered named font families ordered the same way as the fallback candidates.
- styleTemplate OfficeIMO.Pdf.PdfTextRun? = null
- Optional run whose styling is copied to each generated text run.
Returns
Text runs that can be used with rich paragraphs, lists, tables, panels, and canvas text boxes.
public IReadOnlyList<PdfTextRun> ToTextRuns(IReadOnlyList<PdfStandardFont> fontSlots, PdfTextRun? styleTemplate = null) #IReadOnlyList<PdfTextRun>Converts a fully covered fallback plan into rich text runs assigned to generated PDF font slots.
Parameters
- fontSlots System.Collections.Generic.IReadOnlyList<OfficeIMO.Pdf.PdfStandardFont>
- Generated standard-font slots ordered the same way as the fallback candidates.
- styleTemplate OfficeIMO.Pdf.PdfTextRun? = null
- Optional run whose styling is copied to each generated text run.
Returns
Text runs that can be used with rich paragraphs, lists, tables, panels, and canvas text boxes.
public IReadOnlyList<PdfTextRun> ToTextRuns(IReadOnlyDictionary<Int32, PdfStandardFont> fontSlots, PdfTextRun? styleTemplate = null) #IReadOnlyList<PdfTextRun>Converts a fully covered fallback plan into rich text runs assigned to generated PDF font slots.
Parameters
- fontSlots System.Collections.Generic.IReadOnlyDictionary<System.Int32, OfficeIMO.Pdf.PdfStandardFont>
- Generated standard-font slots keyed by fallback candidate index.
- styleTemplate OfficeIMO.Pdf.PdfTextRun? = null
- Optional run whose styling is copied to each generated text run.
Returns
Text runs that can be used with rich paragraphs, lists, tables, panels, and canvas text boxes.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?
Properties
public String OriginalText { get; } #Original text used to create this fallback plan.
public IReadOnlyList<PdfTextFallbackSegment> Segments { get; } #Contiguous text segments that can be rendered by one embedded font candidate.
public IReadOnlyList<PdfTextEncodingDiagnostic> Diagnostics { get; } #Characters not covered by any candidate font, in source order.
public Boolean IsFullyCovered { get; } #True when every non-layout text scalar is covered by one of the candidate fonts.