Share via


RelationshipErrorHandler.CreateRewriterFactory Method

Definition

Create a RelationshipErrorHandler that simply rewrites the invalid target Uri.

public static Func<DocumentFormat.OpenXml.Packaging.OpenXmlPackage,DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler> CreateRewriterFactory (DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler.Rewriter rewriter);
static member CreateRewriterFactory : DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler.Rewriter -> Func<DocumentFormat.OpenXml.Packaging.OpenXmlPackage, DocumentFormat.OpenXml.Packaging.RelationshipErrorHandler>
Public Shared Function CreateRewriterFactory (rewriter As RelationshipErrorHandler.Rewriter) As Func(Of OpenXmlPackage, RelationshipErrorHandler)

Parameters

rewriter
RelationshipErrorHandler.Rewriter

The delegate used to rewrite the Uri.

Returns

A factory function for use in RelationshipErrorHandlerFactory.

Applies to