Table of Contents

Method ToJson

Namespace
DocWright.Reporting.Viewer
Assembly
DocWright.Reporting.Viewer.dll

ToJson()

Returns the map as JSON.

public string ToJson()

Returns

string

A JSON object with language, pages, bookmarks and documentMap. Measurements are in twips, as integers, because that is what the page model holds and a viewer scaling to pixels should round once at the end rather than read a rounded number here.