have attempted to create a SSRS report that is exported using c#. I've set the device info DpiX and DpiY settings and attempted to render my report but it seems these settings have no effect.
The images in my report are JPEG and my settings look like so:
string deviceInfo = null;
var sb = new System.Text.StringBuilder(1024);
var xr = System.Xml.XmlWriter.Create(sb);
xr.WriteStartElement("DeviceInfo");
xr.WriteElementString("DpiX", "620");
xr.WriteElementString("DpiY", "620");
xr.Close();
deviceInfo = sb.ToString();
results = rs.Render(format, deviceInfo, out extension, out encoding, out mimeType, out warnings,
out streamIDs);
The report runs fine and outputs as PDF. The size of the report and resolution of the images inside it stay the same regardless of the deviceInfo settings.
Any help would be greatly appreciated!!!