Primo.Office.PowerPoint.Core 1.0.0

dotnet add package Primo.Office.PowerPoint.Core --version 1.0.0
                    
NuGet\Install-Package Primo.Office.PowerPoint.Core -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Primo.Office.PowerPoint.Core" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Primo.Office.PowerPoint.Core" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="Primo.Office.PowerPoint.Core" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Primo.Office.PowerPoint.Core --version 1.0.0
                    
#r "nuget: Primo.Office.PowerPoint.Core, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Primo.Office.PowerPoint.Core@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Primo.Office.PowerPoint.Core&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=Primo.Office.PowerPoint.Core&version=1.0.0
                    
Install as a Cake Tool

About

The Primo RPA robot uses elements of the package to automate the processing of Microsoft PowerPoint presentations.

How to Use

In Primo RPA studio, create a project that will be executed by Primo RPA robot. Install this package via the ".Dependencies → Manage Dependencies" menu; the "MS PowerPoint" node with package elements will appear in Elements tree.
The "PowerPoint presentation" element is a container for all other elements that are children of the "MS PowerPoint" node. This element is used to connect to PowerPoint presentation.
In pure code projects use the element as follows:

//wf: [LTools.Common.Model.WorkflowData] parent algorithm link
//fileName - File path: [String] Path to a PowerPoint presentation (c:\folder\file.pptx)
//bytes - Byte array: [byte[]] Presentation bytes array
Primo.Office.PowerPoint.PowerPointApp app = Primo.Office.PowerPoint.PowerPointApp.Init(wf, fileName);
Primo.Office.PowerPoint.PowerPointApp app = Primo.Office.PowerPoint.PowerPointApp.Init(wf, bytes);

All other child elements of the "MS PowerPoint" node should be placed inside the "PowerPoint presentation" container to process the presentation.
"Add new slide" element in pure code:

//app - [Primo.Office.PowerPoint.PowerPointApp] PowerPoint application
//idx - Index: [Int32] Insert index. Add to the end if not specified
//layout - Layout: [String] Slide layout
//theme - Theme: [String] Slide theme
int newidx = app.AddNewSlide([idx], [layout], [theme]);	

Key Features

  • A large set of elements for diverse and high-quality processing of presentations
  • High performance
  • Supports .NET 8.0+

Main Types

  • Primo.Office.PowerPoint.PowerPointApp
  • Primo.Office.PowerPoint.PowerPointInst

Feedback

Bug reports and contributions are welcome at Primo RPA chat

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 182 1/24/2025