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.
  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

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 292 11/27/2017