GroupDocs.Viewer.CrossPlatform
24.11.0-alpha-20241128151722
dotnet add package GroupDocs.Viewer.CrossPlatform --version 24.11.0-alpha-20241128151722
NuGet\Install-Package GroupDocs.Viewer.CrossPlatform -Version 24.11.0-alpha-20241128151722
<PackageReference Include="GroupDocs.Viewer.CrossPlatform" Version="24.11.0-alpha-20241128151722" />
paket add GroupDocs.Viewer.CrossPlatform --version 24.11.0-alpha-20241128151722
#r "nuget: GroupDocs.Viewer.CrossPlatform, 24.11.0-alpha-20241128151722"
// Install GroupDocs.Viewer.CrossPlatform as a Cake Addin #addin nuget:?package=GroupDocs.Viewer.CrossPlatform&version=24.11.0-alpha-20241128151722&prerelease // Install GroupDocs.Viewer.CrossPlatform as a Cake Tool #tool nuget:?package=GroupDocs.Viewer.CrossPlatform&version=24.11.0-alpha-20241128151722&prerelease
Document Viewer .NET API
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License
This is cross-platform version of GroupDocs.Viewer package. GroupDocs.Viewer.CrossPlatform is a class-library that enables you to build file viewer applications for mobile, web, and desktop platforms using C#, F#, or VB.NET. It supports rendering over 170 popular file formats in HTML, PNG, JPEG, and PDF. Our library is self-sufficient and doesn't depend on any third-party software, such as Microsoft Word, OpenOffice, and other office suites.
Features
- Render documents to HTML, PNG, JPEG, or PDF formats.
- Retrieve basic details about documents, such as page count.
- Render HTML with embedded or external resources.
- Add text watermarks to documents.
- Add UI to your
ASP.NET Core
application with GroupDocs.Viewer.UI package.
See the Features overview documentation topic for more details.
Supported platforms
- Windows: Microsoft Windows XP and later, Microsoft Windows Server 2003 and later.
- Linux: Ubuntu, OpenSUSE, CentOS and others.
- Mac OS X Catalina (10.15) and later.
If you build applications for Linux and macOS, we recommend using this package instead GroupDocs.Viewer. GroupDocs.Viewer.CrossPlatform
does not use on System.Drawing.Common
as a graphical subsystem, which is only supported on Windows.
See the System requirements documentation topic for more details.
Supported formats
- Word: DOCX, DOC, ODT, RTF, TXT.
- PowerPoint: PPTX, PPT, ODP.
- Excel: XLSX, XLS, Numbers.
- Fixed Page Layout: PDF, XPS.
- Graphics: CDR, DCM.
- Email: MSG, EML.
- Other file formats: JSON, XML, VCF.
See the Supported file formats documentation topic for a complete list of supported formats.
Getting Started
To get started with GroupDocs.Viewer.CrossPlatfom
first you have to install the package using the command for your tool that you can find at the beginning of this page.
You can run the following code snippets in C# to see how our library works. Also feel free to check out the GitHub Repository for other common use cases.
Render PDF to HTML
using GroupDocs.Viewer;
using GroupDocs.Viewer.Options;
// Instantiate viewer
using (var viewer = new Viewer("resume.pdf"))
{
// Set output HTML options, one file per page
var viewOptions = HtmlViewOptions.ForEmbeddedResources("page{0}.html");
// Render PDF to HTML with embedded resources
viewer.View(viewOptions);
}
Render PPTX to PDF
using GroupDocs.Viewer;
using GroupDocs.Viewer.Options;
// Instantiate viewer
using (var viewer = new Viewer("solution.pptx"))
{
// Set output PDF options
var viewOptions = new PdfViewOptions("solution.pdf");
// Render PPTX to PDF
viewer.View(viewOptions);
}
Render DOCX to PNG
using GroupDocs.Viewer;
using GroupDocs.Viewer.Options;
// Instantiate viewer
using (var viewer = new Viewer("flyer.docx"))
{
// Set output PDF options
var viewOptions = new PngViewOptions("page{0}.png");
// Render DOCX to PNG
viewer.View(viewOptions);
}
Support
Our technical support is available to all users, including those evaluating our product. We offer assistance through our Free Support Forum and Paid Support Helpdesk. Let us know if you have any questions or issues, and we'll do our best to help you.
Product Page | Docs | Demos | API Reference | Examples | Blog | Releases | Free Support | Temporary License
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
-
net6.0
- Aspose.Drawing.Common (>= 23.11.0)
- GroupDocs.CrossPlatform.NativeAssets (>= 24.3.0)
- Microsoft.Extensions.DependencyModel (>= 2.0.4)
- Microsoft.Extensions.Logging.Abstractions (>= 7.0.0)
- Microsoft.Win32.Registry (>= 4.7.0)
- Newtonsoft.Json (>= 13.0.3)
- SkiaSharp (>= 2.88.6)
- SkiaSharp.NativeAssets.Linux.NoDependencies (>= 2.88.6)
- System.Diagnostics.DiagnosticSource (>= 7.0.0)
- System.Diagnostics.PerformanceCounter (>= 4.5.0)
- System.Drawing.Common (>= 6.0.0)
- System.Net.Http.Json (>= 8.0.0)
- System.Reflection.Emit (>= 4.7.0)
- System.Reflection.Emit.ILGeneration (>= 4.3.0)
- System.Security.Cryptography.Pkcs (>= 8.0.0)
- System.Security.Permissions (>= 4.5.0)
- System.Text.Encoding.CodePages (>= 8.0.0)
- System.Text.Json (>= 8.0.3)
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
24.11.0-alpha-20241128151722 | 1 | 11/28/2024 |
24.10.0-alpha-20241031162724 | 0 | 10/31/2024 |
24.10.0-alpha-20241031112952 | 0 | 10/31/2024 |
24.10.0-alpha-20241031055230 | 0 | 10/31/2024 |
24.9.0-alpha-20240926164909 | 2 | 9/26/2024 |
24.8.0-alpha-20240830063331 | 2 | 8/30/2024 |
24.7.0-alpha-20240801060730 | 4 | 8/1/2024 |
24.6.0-alpha-20240702041207 | 3 | 7/2/2024 |
24.5.0-alpha-20240531054656 | 3 | 5/31/2024 |
24.5.0-alpha-20240531050102 | 1 | 5/31/2024 |
24.4.0-alpha-20240430125927 | 1 | 4/30/2024 |
24.4.0-alpha-20240428091816 | 2 | 4/28/2024 |
24.3.1-alpha-20240331060725 | 1 | 3/31/2024 |
24.3.0-alpha-20240313063813 | 2 | 3/13/2024 |
24.3.0-alpha-20240312100938 | 2 | 3/12/2024 |
24.3.0-alpha-20240310070130 | 3 | 3/10/2024 |
24.3.0-alpha-20240310060438 | 2 | 3/10/2024 |