Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

IWorkKeynoteSlideBuilder

OfficeIMO.IWork

Namespace
OfficeIMO.IWork
Assembly
OfficeIMO.IWork
Source revision
5e5a2dda74b3 with working tree changes
Modifiers
sealed

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

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[] required
leftPoints float required
topPoints float required
widthPoints float required
heightPoints float required
accessibilityDescription string? = null optional
cancellationToken System.Threading.CancellationToken = default optional
public 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> required
leftPoints float required
topPoints float required
widthPoints float required
heightPoints float required
public 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 required
leftPoints float required
topPoints float required
widthPoints float required
heightPoints float required
name string = "Table" optional
fontName string = "Arial" optional
fontSizePoints float = 20 optional
color string = "000000" optional
public 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 required
leftPoints float required
topPoints float required
widthPoints float required
heightPoints float required
fontName string = "Arial" optional
fontSizePoints float = 32 optional
color string = "000000" optional

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.