Поделиться через


SlideLayoutPart.AddEmbeddedObjectPart Метод

Определение

Перегрузки

AddEmbeddedObjectPart(EmbeddedObjectPartType)
AddEmbeddedObjectPart(String)

Добавляет EmbeddedObjectPart в SlideLayoutPart

AddEmbeddedObjectPart(EmbeddedObjectPartType, String)
AddEmbeddedObjectPart(String, String)

AddEmbeddedObjectPart(EmbeddedObjectPartType)

public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType partType);
member this.AddEmbeddedObjectPart : DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (partType As EmbeddedObjectPartType) As EmbeddedObjectPart

Параметры

Возвращаемое значение

Применяется к

AddEmbeddedObjectPart(String)

Добавляет EmbeddedObjectPart в SlideLayoutPart

public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (string contentType);
member this.AddEmbeddedObjectPart : string -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (contentType As String) As EmbeddedObjectPart

Параметры

contentType
String

Тип контента EmbeddedObjectPart

Возвращаемое значение

Добавленная часть.

Применяется к

AddEmbeddedObjectPart(EmbeddedObjectPartType, String)

public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType partType, string id);
member this.AddEmbeddedObjectPart : DocumentFormat.OpenXml.Packaging.EmbeddedObjectPartType * string -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (partType As EmbeddedObjectPartType, id As String) As EmbeddedObjectPart

Параметры

id
String

Возвращаемое значение

Применяется к

AddEmbeddedObjectPart(String, String)

public DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart AddEmbeddedObjectPart (string contentType, string id);
member this.AddEmbeddedObjectPart : string * string -> DocumentFormat.OpenXml.Packaging.EmbeddedObjectPart
Public Function AddEmbeddedObjectPart (contentType As String, id As String) As EmbeddedObjectPart

Параметры

contentType
String
id
String

Возвращаемое значение

Применяется к