Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

OdpSlide

OfficeIMO.OpenDocument

Namespace
OfficeIMO.OpenDocument
Assembly
OfficeIMO.OpenDocument
Source revision
be6c300e4ab1 with working tree changes
Modifiers
sealed

An XML-backed ODP slide.

Inheritance

  • object
  • OdpSlide

Usage

Explore 2 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.

Returned or exposed by 2

Methods

public OdpAnimation AddAnimation(OdpShape target, string attributeName, string from, string to, TimeSpan duration) #

Adds a bounded basic animation effect for a shape attribute.

Parameters

target OfficeIMO.OpenDocument.OdpShape required
attributeName string required
from string required
to string required
duration System.TimeSpan required
public OdpEllipse AddEllipse(OdfRect bounds, string? name = null) #

Adds an ellipse.

Parameters

bounds OfficeIMO.OpenDocument.OdfRect required
name string? = null optional

Returns

OdpEllipse
public OdpAnimation AddFadeInAnimation(OdpShape target, TimeSpan duration) #

Adds an opacity fade-in effect.

Parameters

target OfficeIMO.OpenDocument.OdpShape required
duration System.TimeSpan required
public OdpGroup AddGroup(string? name = null) #

Adds a group.

Parameters

name string? = null optional

Returns

OdpGroup
public OdpImage AddImage(byte[] data, string fileName, OdfRect bounds, string? name = null) #

Adds an image frame.

Parameters

data byte[] required
fileName string required
bounds OfficeIMO.OpenDocument.OdfRect required
name string? = null optional

Returns

OdpImage
public OdpLine AddLine(OdfLength x1, OdfLength y1, OdfLength x2, OdfLength y2, string? name = null) #

Adds a line.

Parameters

x1 OfficeIMO.OpenDocument.OdfLength required
y1 OfficeIMO.OpenDocument.OdfLength required
x2 OfficeIMO.OpenDocument.OdfLength required
y2 OfficeIMO.OpenDocument.OdfLength required
name string? = null optional

Returns

OdpLine
public OdpRectangle AddRectangle(OdfRect bounds, string? name = null) #

Adds a rectangle.

Parameters

bounds OfficeIMO.OpenDocument.OdfRect required
name string? = null optional
public OdpTable AddTable(OdfRect bounds, int rows, int columns, string? name = null) #

Adds a presentation table frame.

Parameters

bounds OfficeIMO.OpenDocument.OdfRect required
rows int required
columns int required
name string? = null optional

Returns

OdpTable
public OdpTextBox AddTextBox(OdfRect bounds, string? text = null, string? name = null) #

Adds a text box.

Parameters

bounds OfficeIMO.OpenDocument.OdfRect required
text string? = null optional
name string? = null optional

Returns

OdpTextBox
public OdpNotes GetOrCreateSpeakerNotes() #

Gets or creates the speaker-notes container.

Returns

OdpNotes

Properties

public string Name { get; set; } #

Slide name.

public bool Hidden { get; set; } #

Whether the slide is hidden from the normal show.

public string? MasterPageName { get; set; } #

Referenced master page name.

public string? LayoutName { get; set; } #

Referenced presentation layout name.

public IReadOnlyList<OdpShape> Shapes { get; } #

Slide shapes in XML order.

public IReadOnlyList<OdpAnimation> Animations { get; } #

Basic typed animation effects in timing-tree order.

public OdpNotes? SpeakerNotes { get; } #

Speaker notes, or null when none are present.

public OdfColor? BackgroundColor { get; set; } #

Slide background fill color.

public string? TransitionType { get; set; } #

Raw ODF transition type on the slide's drawing-page style.

public string? TransitionStyle { get; set; } #

Raw ODF transition style on the slide's drawing-page style.