RelationshipErrorHandler.CreateRewriterFactory Method

Definition

Create a RelationshipErrorHandler that simply rewrites the invalid target Uri.

C#
public static Func<DocumentFormat.OpenXml.Packaging.OpenXmlPackage,DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler> CreateRewriterFactory (DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler.Rewriter rewriter);

Parameters

rewriter
RelationshipErrorHandler.Rewriter

The delegate used to rewrite the Uri.

Returns

A factory function for use in RelationshipErrorHandlerFactory.

Applies to

Product Versions
DocumentFormat.OpenXml 2.12.0, 2.12.1, 2.12.2, 2.12.3, 2.13.0, 2.13.1, 2.14.0, 2.15.0, 2.16.0, 2.17.1, 2.18.0, 2.19.0, 2.20.0