Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointOleObject

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Source revision
12511d2fa560 with working tree changes
Modifiers
sealed

Represents an embedded OLE object placed on a slide.

Inheritance

Usage

Explore 5 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public void CopyDataTo(Stream destination) #

Copies the complete embedded OLE compound storage to a stream.

Parameters

destination System.IO.Stream required
public byte[] GetData() #

Returns the complete embedded OLE compound storage.

Returns

byte[]
public void UpdateData(Stream storage) #

Replaces the embedded storage while retaining its relationship and content type.

Parameters

storage System.IO.Stream required

Properties

public string? ProgId { get; set; } #

Gets or sets the OLE programmatic class identifier.

public bool ShowAsIcon { get; set; } #

Gets or sets whether the object is displayed as an icon.

public PowerPointOleFollowColorScheme FollowColorScheme { get; set; } #

Gets or sets how the object follows the presentation color scheme.

public string ContentType { get; } #

Gets the MIME content type of the embedded object part.

public bool IsLinked { get; } #

Gets whether this OLE frame references an external object.

public bool IsEmbedded { get; } #

Gets whether this OLE frame owns a package payload.

public Uri? LinkUri { get; } #

Gets the external object URI when linked.

public bool AutoUpdate { get; set; } #

Gets or sets whether PowerPoint automatically refreshes the linked object.

public string? EmbeddedContentType { get; } #

Gets the embedded MIME type, or null for linked objects.