Profile Picture

DPI Settings - Variable for Screen/Print?

Posted By Kris Dages 10 Years Ago
Author
Message
Kris Dages
questionmark Posted 10 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)Forum Newbie (1 reputation)

Group: Forum Members
Last Active: 10 Years Ago
Posts: 1, Visits: 1
Is it possible (or can it be ) to make the Chart Resolution (DPI) setting defined by a formula? I'd like to have a higher resolution chart when a report is rendered to PDF vs when it is on screen.

Nevron Support
Posted 10 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,061 reputation)Supreme Being (4,061 reputation)Supreme Being (4,061 reputation)Supreme Being (4,061 reputation)Supreme Being (4,061 reputation)Supreme Being (4,061 reputation)Supreme Being (4,061 reputation)Supreme Being (4,061 reputation)Supreme Being (4,061 reputation)

Group: Forum Members
Last Active: 3 days ago @ 2:02 AM
Posts: 2,943, Visits: 3,290

Hi Kris,

This is currently not possible, however we will add this support in custom code. Currently you can only check the current resolution:

using System;
using System.Drawing;
using Nevron.GraphicsCore;
using Nevron.Chart;
using Nevron.ReportingServices;

namespace MyNamespace
{
 /// <summary>
 /// Sample class
 /// </summary>
 public class MyClass
 {
  /// <summary>
  /// Main entry point
  /// </summary>
  /// <param name="context"></param>
  public static void RSMain(NRSChartCodeContext context)
  {

   // context.RenderParameters.Resolution contains the current resolution
  }
 }
}

however you cannot modify it. We'll try to implement this in the next SP for the component.



Best Regards,
Nevron Support Team





Similar Topics


Reading This Topic