jsreport / jsreport-dotnet-client

jsreport remote client for c#
MIT License
3 stars 4 forks source link

Use resources with the dotnetclient #4

Closed engern closed 3 years ago

engern commented 3 years ago

Hi,

We use Resources with our JS Reports, and wish to use this dotnet client. How do I sepcify this part of the request in the dotnet client: "options": { "language": "en" }

pofider commented 3 years ago

You can use this override.

rs.RenderAsync(new RenderRequest {
  Template = new Templates {
    Name = "xxxx"
  },
  Data = new { ... },
  Options = new RenderOptions  { Language = "en" }
}