SlidePart.AddEmbeddedControlPersistenceBinaryDataPart Method (EmbeddedControlPersistenceBinaryDataPartType)
Adds a EmbeddedControlPersistenceBinaryDataPart to the SlidePart.
Namespace: DocumentFormat.OpenXml.Packaging
Assembly: DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)
Syntax
'Declaration
Public Function AddEmbeddedControlPersistenceBinaryDataPart ( _
partType As EmbeddedControlPersistenceBinaryDataPartType _
) As EmbeddedControlPersistenceBinaryDataPart
'Usage
Dim instance As SlidePart
Dim partType As EmbeddedControlPersistenceBinaryDataPartType
Dim returnValue As EmbeddedControlPersistenceBinaryDataPart
returnValue = instance.AddEmbeddedControlPersistenceBinaryDataPart(partType)
public EmbeddedControlPersistenceBinaryDataPart AddEmbeddedControlPersistenceBinaryDataPart(
EmbeddedControlPersistenceBinaryDataPartType partType
)
Parameters
- partType
Type: DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistenceBinaryDataPartType
The part type of the EmbeddedControlPersistenceBinaryDataPart.
Return Value
Type: DocumentFormat.OpenXml.Packaging.EmbeddedControlPersistenceBinaryDataPart
The newly added part.