hexagon logo

Set Report Graphic DPI

Hi All,

As discussed in this post, I'm using a Report Label Template to insert a dynamically-generated external graphic into my reports. Is there any way to set the DPI/resolution on this? It seems that by default everything is shown at 100 pixels-per-inch, which is a bit grainy, and my application would benefit from having more than the 700-pixel width this caps things at.
Parents
  • Good info Cris_C. I had set the bitmap object layout parameter to "Center" in order to get part of the dynamic loading to work, but I tried "Stretch" again and was able to get it to work. And it lets me put in a higher-resolution image!

    The trick was to select a test image when creating the bitmap object. Earlier I had tried to not put an image in, and that breaks the "Stretch" layout even when you specify a particular image dynamically. When created with a test image, though, it seems to scale the image properly even when the dynamically-loaded image is a different size.

    Thank you! I'm glad this is working better.


    I'm happy to help. Thank you for sharing the trick to getting the scaling to work with dynamically loaded images. Quirky stuff!
Reply
  • Good info Cris_C. I had set the bitmap object layout parameter to "Center" in order to get part of the dynamic loading to work, but I tried "Stretch" again and was able to get it to work. And it lets me put in a higher-resolution image!

    The trick was to select a test image when creating the bitmap object. Earlier I had tried to not put an image in, and that breaks the "Stretch" layout even when you specify a particular image dynamically. When created with a test image, though, it seems to scale the image properly even when the dynamically-loaded image is a different size.

    Thank you! I'm glad this is working better.


    I'm happy to help. Thank you for sharing the trick to getting the scaling to work with dynamically loaded images. Quirky stuff!
Children
No Data