A presentation editor that opens and saves .pptx (and the older .ppt) and OpenDocument (.odp) files. Slides with text, shapes, pictures and tables that can be moved, resized and rotated, speaker notes, layouts, a full-screen slide show, printing, and spelling and grammar checking. The file code is part of RayCraft.Blazor.Office and has no third-party parts. _No live image: this control is described by text and the API table only._
Parameters
Files are read and written by the library itself, with no Office installation and no extra packages.
Parameter
Type
Description
Feature
.pptx
.odp
Slides, layouts, hidden slides, slide size
Read and write
Read and write
Text with bold, italic, underline, strikethrough, size, colour and font
Read and write
Read and write
Bullets, numbering and list levels
Read and write
Read and write
Links (http, https, mailto, tel)
Read and write
Read and write
Shapes: rectangles, rounded rectangles, ellipses, triangles, diamonds, arrows in four directions, pentagons, hexagons, stars, parallelograms, plus signs, lines
Read and write
Read and write
Freeform shapes (lines and curves, no arcs)
Read and write
Read and write
Comments (classic format)
Read and write (not shown)
Not kept
Fill and outline colours, rotation
Read and write
Read and write
Pictures (PNG, JPEG, GIF, BMP)
Read and write
Read and write
Tables with cell colours
Read and write
Read and write
Groups
Read (flattened)
Read (flattened)
Slide backgrounds
Read and write
Read and write
Speaker notes
Read and write
Read and write
Theme colours and fonts, placeholders from layouts
Read
Not used by the format
Keys and gestures
Parameter
Type
Description
Keys or gesture
What it does
Click, Shift+click, drag on the slide
Select one element, add to the selection, select with a frame
Drag, arrow keys, Shift+arrow keys
Move the selection (Shift moves 10 points, or keeps a drag straight)
Drag a handle, Shift
Resize (Shift keeps the proportions); the top handle rotates (Shift snaps to 15°)
Double-click, Enter, F2
Edit the text of the shape or table cell
Esc
Stop editing text, or clear the selection
Tab / Shift+Tab
Next element; while editing a list: list level; in a table: next cell
Ctrl+B / I / U, Ctrl+] / [
Bold, italic, underline; larger and smaller text
Ctrl+C / X / V / D
Copy, cut, paste and duplicate; pasting a picture inserts it
Ctrl+Z / Ctrl+Y
Undo and redo
Delete
Delete the selection (in the slide list: the slide)
Ctrl+M
New slide
Page Up / Page Down
Previous and next slide
Drag a slide in the list
Move the slide
F5 / Shift+F5
Slide show from the start / from the current slide
F7
Spelling and grammar
Ctrl+S, Ctrl+P
Save as .pptx, print
API
Parameter
Type
Description
AllowFileTransfer
bool
Shows the commands that open and save files (default true).
Class
string
Extra CSS classes added to the root element.
FileName
string
Name given to saved files, without extension (default presentation).
Fonts
IReadOnlyList<string>
The fonts offered in the font list.
Height
string
Height of the control as a CSS length (default 40rem).
IgnoredWords
IReadOnlyCollection<string>
Words that are never reported as misspelled.
Label
string
Accessible name of the slide. Defaults to a localized Slide.
MaxImageSize
Int64
Largest picture that can be inserted, in bytes (default 10,000,000).
MaxImportSize
Int64
Largest presentation that can be opened, in bytes (default 50,000,000).
PdfFonts
PdfFontSet
Presentation
Presentation
The presentation shown at start; a different instance later replaces it. Read the edited one with GetPresentationAsync.
Proofing
bool
Offers spelling, grammar and logic checking for English and Bulgarian: Review menu, toolbar button and F7 (default true).
ReadOnly
bool
Shows the presentation without allowing changes; the slide show, printing and saving still work.
ShowMenuBar
bool
Shows the menu bar (default true).
ShowNotes
bool
Shows the speaker notes under the slide (default true).
ShowSlideList
bool
Shows the list of slides (default true).
ShowStatusBar
bool
Shows the slide number, layout and zoom (default true).
ShowToolbar
bool
Shows the toolbar (default true).
Style
string
Inline style added to the root element.
Events
API
Event
Type
Description
OnChanged
EventCallback
Raised after the presentation changed (an edit, undo or redo).
OnNew
EventCallback
OnSave
EventCallback<OfficeFileSave>
OnSaveAs
EventCallback<OfficeFileSave>
OnSlideChanged
EventCallback<int>
Raised when another slide is shown (zero-based index).
Package
PresentationEditor is part of RayCraft Complete. Package: RayCraft.Blazor.Complete. It comes from the private RayCraft feed and needs an active license. See Getting started.