PDFRasterizer.NET 4.0 is now available. Supports .NET Core. Renders pixel-perfectly.

Method SetPersistedValue

Namespace TallComponents.PDF.JavaScript.Scripting
Class Global

JavaScript method Global.setPersistent. Make a given variable persistent across application sessions.

If the variable should persist across app domains, the implementor should use an appropriate persistency mechanism such as a file on disk, or the Windows registry. The default implementation ignores the persist argument and does not persist across across application sessions.


protected internal Void SetPersistedValue(String nameObject value)




String name
The name of the variable to persist.

Object value
Value of the variable to persist. Type is string, float, double or bool.
Download PDFKit.NET 5.0
We will send you a download link

  • This field is for validation purposes and should be left unchanged.
Why do we ask your email address?
We send tips that speed up your evaluation
We let you know about bug fixes
You can always unsubscribe with one click
We never share your address with a 3rd party
Thank you for your download

We have sent an email with a download link.