Profile Picture

DPI Settings - Variable for Screen/Print?

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

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

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