다음을 통해 공유


ParagraphIdFeatureExtensions.AddParagraphIdFeature Method

Definition

Add the paragraph id feature if not already registered.

public static void AddParagraphIdFeature (this DocumentFormat.OpenXml.Packaging.WordprocessingDocument doc, DocumentFormat.OpenXml.Features.ParagraphIdOptions? options = default);
static member AddParagraphIdFeature : DocumentFormat.OpenXml.Packaging.WordprocessingDocument * DocumentFormat.OpenXml.Features.ParagraphIdOptions -> unit
<Extension()>
Public Sub AddParagraphIdFeature (doc As WordprocessingDocument, Optional options As ParagraphIdOptions = Nothing)

Parameters

doc
WordprocessingDocument

Document to add feature to.

options
ParagraphIdOptions

Options of how paragraph ids should be generated.

Applies to