Click or drag to resize

Content Class

Represents an arbitrary content that is either embedded in or linked to the presentation file.
Inheritance Hierarchy
SystemObject
  GemBox.PresentationContent

Namespace:  GemBox.Presentation
Assembly:  GemBox.Presentation (in GemBox.Presentation.dll) Version: 21.3.35.1045 (21.3.35.1045)
Syntax
public class Content

The Content type exposes the following members.

Properties
  NameDescription
Public propertyContentType

Gets the media type of the content.

This value can be if the content is not embedded in but is linked to the presentation file.

Public propertyIsExternal
Gets a value indicating whether this content is linked to the presentation file.
Public propertyLink
Gets the location of the content that is not embedded in the presentation file.
Top
Methods
  NameDescription
Public methodOpen

Opens the content as a Stream.

Make sure to call Dispose on the returned instance after it is no longer used and before it gets out of scope.

Public methodToString
Returns a String that represents this Content instance.
(Overrides ObjectToString.)
Top
See Also