PrexView.NetStandard 1.0.0

.NET Wrapper for PrexView API.https://prexview.com/

Install-Package PrexView.NetStandard -Version 1.0.0
dotnet add package PrexView.NetStandard --version 1.0.0
<PackageReference Include="PrexView.NetStandard" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add PrexView.NetStandard --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: PrexView.NetStandard, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install PrexView.NetStandard as a Cake Addin
#addin nuget:?package=PrexView.NetStandard&version=1.0.0

// Install PrexView.NetStandard as a Cake Tool
#tool nuget:?package=PrexView.NetStandard&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
  1. Sign up for an account at https://prexview.com/
  2. Install the library via Nuget.
  3. Create your design on Prexview
  4. Use the library like this:

public async Task GenerateInvoice()
{
	var prex = new PrexView("--YOUR-API-KEY--");
	string data = @"{ xml-data-here }";
	string design = "new-9999";
	Enums.PrexViewOutput output = Enums.PrexViewOutput.pdf;
	Enums.PrexViewFormat format = Enums.PrexViewFormat.json;

	var fileBytes = await prex.Transform(format, data, design, output);
	System.IO.File.WriteAllBytes(@"C:\temp\invoice." + output, fileBytes);
}

Output can be one of the following

  • html
  • pdf
  • png
  • jpg

Input format can be one of two:

  • json
  • xml
  1. Sign up for an account at https://prexview.com/
  2. Install the library via Nuget.
  3. Create your design on Prexview
  4. Use the library like this:

public async Task GenerateInvoice()
{
	var prex = new PrexView("--YOUR-API-KEY--");
	string data = @"{ xml-data-here }";
	string design = "new-9999";
	Enums.PrexViewOutput output = Enums.PrexViewOutput.pdf;
	Enums.PrexViewFormat format = Enums.PrexViewFormat.json;

	var fileBytes = await prex.Transform(format, data, design, output);
	System.IO.File.WriteAllBytes(@"C:\temp\invoice." + output, fileBytes);
}

Output can be one of the following

  • html
  • pdf
  • png
  • jpg

Input format can be one of two:

  • json
  • xml

Release Notes

V1.0.0 .Net Standard 1.1 support

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 615 11/27/2017