Een presentatie-editor die .pptx- (en de oudere .ppt-) en OpenDocument-bestanden (.odp) opent en opslaat. Dia's met tekst, vormen, afbeeldingen en tabellen die kunnen worden verplaatst, vergroot of verkleind en gedraaid, sprekersnotities, indelingen, een schermvullende diavoorstelling, afdrukken en spelling- en grammaticacontrole. De bestandscode maakt deel uit van RayCraft.Blazor.Office en bevat geen onderdelen van derden.
Parameters
Files are read and written by the library itself, with no Office installation and no extra packages.
Parameter
Type
Beschrijving
Feature
.pptx
.odp
Slides, layouts, hidden slides, slide size
Read and write
Lezen en schrijven
Text with bold, italic, underline, strikethrough, size, colour and font
Read and write
Lezen en schrijven
Bullets, numbering and list levels
Read and write
Lezen en schrijven
Links (http, https, mailto, tel)
Read and write
Lezen en schrijven
Shapes: rectangles, rounded rectangles, ellipses, triangles, diamonds, arrows in four directions, pentagons, hexagons, stars, parallelograms, plus signs, lines
Read and write
Lezen en schrijven
Freeform shapes (lines and curves, no arcs)
Read and write
Lezen en schrijven
Comments (classic format)
Read and write (not shown)
Niet bewaard
Fill and outline colours, rotation
Read and write
Lezen en schrijven
Pictures (PNG, JPEG, GIF, BMP)
Read and write
Lezen en schrijven
Tables with cell colours
Read and write
Lezen en schrijven
Groups
Read (flattened)
Lezen (afgevlakt)
Slide backgrounds
Read and write
Lezen en schrijven
Speaker notes
Read and write
Lezen en schrijven
Theme colours and fonts, placeholders from layouts
Read
Niet gebruikt door het formaat
Keys and gestures
Parameter
Type
Beschrijving
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
Beschrijving
AllowFileTransfer
bool
Toont de opdrachten die bestanden openen en opslaan (standaard true).
Class
string
Extra CSS-klassen die aan het hoofdelement worden toegevoegd.
FileName
string
Naam die aan opgeslagen bestanden wordt gegeven, zonder extensie (standaard presentation).
Fonts
IReadOnlyList<string>
De lettertypen die in de lettertypelijst worden aangeboden.
Height
string
Hoogte van het besturingselement als CSS-lengte (standaard 40rem).
IgnoredWords
IReadOnlyCollection<string>
Woorden die nooit als fout gespeld worden gemeld.
Label
string
Toegankelijke naam van de dia. Standaard een gelokaliseerde Slide.
MaxImageSize
Int64
Grootste afbeelding die kan worden ingevoegd, in bytes (standaard 10.000.000).
MaxImportSize
Int64
Grootste presentatie die kan worden geopend, in bytes (standaard 50.000.000).
PdfFonts
PdfFontSet
Presentation
Presentation
De presentatie die bij het starten wordt getoond; een andere instantie vervangt hem later. Lees de bewerkte met GetPresentationAsync.
Proofing
bool
Biedt spelling-, grammatica- en logicacontrole voor Engels en Bulgaars: menu Review, werkbalkknop en F7 (standaard true).
ReadOnly
bool
Toont de presentatie zonder wijzigingen toe te staan; de diavoorstelling, afdrukken en opslaan werken nog.
ShowMenuBar
bool
Toont de menubalk (standaard true).
ShowNotes
bool
Toont de sprekersnotities onder de dia (standaard true).
ShowSlideList
bool
Toont de lijst met dia's (standaard true).
ShowStatusBar
bool
Toont het dianummer, de indeling en de zoom (standaard true).
ShowToolbar
bool
Toont de werkbalk (standaard true).
Style
string
Inline stijl die aan het hoofdelement wordt toegevoegd.
Gebeurtenissen
API
Gebeurtenis
Type
Beschrijving
OnChanged
EventCallback
Geactiveerd nadat de presentatie is gewijzigd (een bewerking, ongedaan maken of opnieuw).
OnNew
EventCallback
OnSave
EventCallback<OfficeFileSave>
OnSaveAs
EventCallback<OfficeFileSave>
OnSlideChanged
EventCallback<int>
Geactiveerd wanneer een andere dia wordt getoond (index vanaf nul).
Pakket
PresentationEditor maakt deel uit van RayCraft Complete. Pakket: RayCraft.Blazor.Complete. Het komt uit de privéfeed van RayCraft en vereist een actieve licentie. Zie Aan de slag.