Profile Picture

DPI Settings - Variable for Screen/Print?

Posted By Kris Dages 9 Years Ago
Author
Message
Kris Dages
questionmark Posted 9 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: 9 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 9 Years Ago
View Quick Profile
Supreme Being

Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)Supreme Being (3,954 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 2,888, Visits: 3,074

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