API Reference
Class
OdpSlide
An XML-backed ODP slide.
Inheritance
- Object
- OdpSlide
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method OdpPresentation.AddSlide
- Property OdpPresentation.Slides
Methods
public OdpAnimation AddAnimation(OdpShape target, String attributeName, String from, String to, TimeSpan duration) #Returns:
OdpAnimationAdds a bounded basic animation effect for a shape attribute.
Parameters
- target OfficeIMO.OpenDocument.OdpShape
- attributeName System.String
- from System.String
- to System.String
- duration System.TimeSpan
public OdpEllipse AddEllipse(OdfRect bounds, String name = null) #Returns:
OdpEllipseAdds an ellipse.
Parameters
- bounds OfficeIMO.OpenDocument.OdfRect
- name System.String = null
public OdpAnimation AddFadeInAnimation(OdpShape target, TimeSpan duration) #Returns:
OdpAnimationAdds an opacity fade-in effect.
Parameters
- target OfficeIMO.OpenDocument.OdpShape
- duration System.TimeSpan
public OdpGroup AddGroup(String name = null) #Returns:
OdpGroupAdds a group.
Parameters
- name System.String = null
public OdpImage AddImage(Byte[] data, String fileName, OdfRect bounds, String name = null) #Returns:
OdpImageAdds an image frame.
Parameters
- data System.Byte[]
- fileName System.String
- bounds OfficeIMO.OpenDocument.OdfRect
- name System.String = null
public OdpLine AddLine(OdfLength x1, OdfLength y1, OdfLength x2, OdfLength y2, String name = null) #Returns:
OdpLineAdds a line.
Parameters
- x1 OfficeIMO.OpenDocument.OdfLength
- y1 OfficeIMO.OpenDocument.OdfLength
- x2 OfficeIMO.OpenDocument.OdfLength
- y2 OfficeIMO.OpenDocument.OdfLength
- name System.String = null
public OdpRectangle AddRectangle(OdfRect bounds, String name = null) #Returns:
OdpRectangleAdds a rectangle.
Parameters
- bounds OfficeIMO.OpenDocument.OdfRect
- name System.String = null
public OdpTable AddTable(OdfRect bounds, Int32 rows, Int32 columns, String name = null) #Returns:
OdpTableAdds a presentation table frame.
Parameters
- bounds OfficeIMO.OpenDocument.OdfRect
- rows System.Int32
- columns System.Int32
- name System.String = null
public OdpTextBox AddTextBox(OdfRect bounds, String text = null, String name = null) #Returns:
OdpTextBoxAdds a text box.
Parameters
- bounds OfficeIMO.OpenDocument.OdfRect
- text System.String = null
- name System.String = null
public OdpNotes GetOrCreateSpeakerNotes() #Returns:
OdpNotesGets or creates the speaker-notes container.
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object
Properties
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 Nullable<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.