Share via


SharedParagraphIdFeatureExtensions.AddSharedParagraphIdFeature Method

Definition

Registers a document for a shared paragraph id collection.

public static DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature> AddSharedParagraphIdFeature (this DocumentFormat.OpenXml.Packaging.WordprocessingDocument doc);
static member AddSharedParagraphIdFeature : DocumentFormat.OpenXml.Packaging.WordprocessingDocument -> DocumentFormat.OpenXml.Features.ISharedFeature<DocumentFormat.OpenXml.Features.IParagraphIdCollectionFeature>
<Extension()>
Public Function AddSharedParagraphIdFeature (doc As WordprocessingDocument) As ISharedFeature(Of IParagraphIdCollectionFeature)

Parameters

doc
WordprocessingDocument

Document to register for a shared collection.

Returns

The existing or new shared collection.

Applies to