IWorkKeynoteSlideBuilder
OfficeIMO.IWork
A slide being created in an IWorkKeynoteDocument.
Inheritance
- object
- IWorkKeynoteSlideBuilder
Remarks
Text boxes, images and tables retain their combined insertion order, which determines stacking order. Instances are not thread safe.
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
- Method IWorkKeynoteDocument.AddSlide
- Property IWorkKeynoteDocument.Slides
Methods
public IWorkKeynoteImage AddImage(byte[] data, float leftPoints, float topPoints, float widthPoints, float heightPoints, string? accessibilityDescription = null, CancellationToken cancellationToken = default) #Adds a complete PNG or JPEG and copies its payload into an immutable image.
Parameters
- data byte[]
- leftPoints float
- topPoints float
- widthPoints float
- heightPoints float
- accessibilityDescription string? = null
- cancellationToken System.Threading.CancellationToken = default
Returns
IWorkKeynoteImagepublic IWorkKeynoteTextBox AddRichText(IEnumerable<IWorkTextRunData> runs, float leftPoints, float topPoints, float widthPoints, float heightPoints) #Adds a left-aligned rich-text box with zero padding and immutable character runs.
Parameters
- runs System.Collections.Generic.IEnumerable<OfficeIMO.IWork.IWorkTextRunData>
- leftPoints float
- topPoints float
- widthPoints float
- heightPoints float
Returns
IWorkKeynoteTextBoxpublic IWorkKeynoteTable AddTable(IWorkTableData data, float leftPoints, float topPoints, float widthPoints, float heightPoints, string name = "Table", string fontName = "Arial", float fontSizePoints = 20, string color = "000000") #Adds a snapshot of scalar table data with equally sized rows and columns.
Parameters
- data OfficeIMO.IWork.IWorkTableData
- leftPoints float
- topPoints float
- widthPoints float
- heightPoints float
- name string = "Table"
- fontName string = "Arial"
- fontSizePoints float = 20
- color string = "000000"
Returns
IWorkKeynoteTablepublic IWorkKeynoteTextBox AddText(string text, float leftPoints, float topPoints, float widthPoints, float heightPoints, string fontName = "Arial", float fontSizePoints = 32, string color = "000000") #Adds a left-aligned text box with zero internal padding and one font and color throughout.
Parameters
- text string
- leftPoints float
- topPoints float
- widthPoints float
- heightPoints float
- fontName string = "Arial"
- fontSizePoints float = 32
- color string = "000000"
Returns
IWorkKeynoteTextBoxInherited Methods
Properties
public IWorkColor BackgroundColor { get; } #Gets the opaque sRGB slide background.
public IReadOnlyList<IWorkKeynoteTextBox> TextBoxes { get; } #Gets the positioned text boxes in stacking order.
public IReadOnlyList<IWorkKeynoteImage> Images { get; } #Gets the positioned images in their relative stacking order.
public IReadOnlyList<IWorkKeynoteTable> Tables { get; } #Gets the positioned tables in their relative stacking order.