Attachments layout
Is there a way of better handling the layout of attachments when using the Multiple Feature Attachments control?
What happens now is that the size of the control seems to be fixed, and an image is centered both vertically and horizontally.
What I would like is to have a fixed width, and a height that grows or shrinks relative to the width/height ratio of the image.
Furthermore, I'd like to have the images not centered, but fixed to the top left of the page. If there are two landscape images, these could then be fitted on a single page, rather than each on a separate page.
Is this already possible, or should I post this as an enhancement request?
Oh, and one more thing: The default value for Max Attachments is set to 1. This doesn't make sense for a Multiple Feature Attachments ;-)
-
Berend Veldkamp unfortunately the Multiple Feature Attachments control doesn't have these options for formatting. I would definitely recommend posting this as an enhancement request.
I have seen some organizations work around some limitations of the Multiple Feature Attachments control by replacing it with a subreport. If the layer/table that has the attachments comes from an enterprise geodatabase, then you can either publish the attachments table separately to ArcGIS Server and connect to that or you can use a SQL/Oracle/etc data source to connect directly to the attachments table in the subreport. Then they'd use a PictureBox control to display the attachment images in the subreport. That leaves more options for how the images get aligned or columnized (taking advantage of the Detail band and PictureBox settings), and it gives the option to add in attributes like file names, but it still doesn't get any adaptive sizing based on the image size or orientation. I think getting some improvements to the out-of-the-box Multiple Feature Attachments control to support more formatting options would be great, so please do post to the Ideas board at https://community.vertigis.com/hc/en-us/community/topics/4415328575122-Ideas-VertiGIS-Studio-Reporting .
0 -
Thanks Amanda, I added an idea.
0
Please sign in to leave a comment.
Comments
2 comments