WordprocessingCommentsIdsPart.AddAlternativeFormatImportPart Method

Definition

Overloads

AddAlternativeFormatImportPart(AlternativeFormatImportPartType)

Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart

AddAlternativeFormatImportPart(String)

Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart

AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String)

Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart

AddAlternativeFormatImportPart(String, String)

Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart

AddAlternativeFormatImportPart(AlternativeFormatImportPartType)

Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart

C#
public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType partType);

Parameters

partType
AlternativeFormatImportPartType

The part type of the AlternativeFormatImportPart

Returns

Applies to

DocumentFormat.OpenXml 2.20.0 and other versions
Product Versions
DocumentFormat.OpenXml 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

AddAlternativeFormatImportPart(String)

Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart

C#
public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (string contentType);

Parameters

contentType
String

The content type of the AlternativeFormatImportPart

Returns

Applies to

DocumentFormat.OpenXml 2.20.0 and other versions
Product Versions
DocumentFormat.OpenXml 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

AddAlternativeFormatImportPart(AlternativeFormatImportPartType, String)

Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart

C#
public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPartType partType, string id);

Parameters

partType
AlternativeFormatImportPartType

The part type of the AlternativeFormatImportPart

id
String

The relationship id

Returns

Applies to

DocumentFormat.OpenXml 2.20.0 and other versions
Product Versions
DocumentFormat.OpenXml 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

AddAlternativeFormatImportPart(String, String)

Adds a AlternativeFormatImportPart to the WordprocessingCommentsIdsPart

C#
public DocumentFormat.OpenXml.Packaging.AlternativeFormatImportPart AddAlternativeFormatImportPart (string contentType, string id);

Parameters

contentType
String

The content type of the AlternativeFormatImportPart

id
String

The relationship id

Returns

Applies to

DocumentFormat.OpenXml 2.20.0 and other versions
Product Versions
DocumentFormat.OpenXml 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