Table of Contents

Method CountAffectedRuns

Namespace
DocWright.Layout
Assembly
DocWright.Layout.dll

CountAffectedRuns(ResolvedDocument, FontPreflightReport)

Counts the text runs whose font references at least one substituted family from a preflight report. Used to build the aggregated end-of-conversion substitution summary.

public static int CountAffectedRuns(ResolvedDocument document, FontPreflightReport report)

Parameters

document ResolvedDocument

The resolved document.

report FontPreflightReport

A preflight report over the same document.

Returns

int

The number of text runs affected by a substitution.

Exceptions

ArgumentNullException

document or report is null.