Hello guys,
I have been working for some time to configure the LegendPrinterLayer for use with the Print Preview system. I am having trouble understanding exactly how it is supposed to work. Each LegendItem has TopPadding and ImageTopPadding and TextTopPadding as well as padding for Left, Right and Bottom. But when I apply a BackgroundMask (so I can see the size and shape of each LegendItem) there is space between the LegendItems even though TopPadding and BottomPadding is set to 0.
Why is this?
Also, when I set the image size to some size (say 12 X 12) it gets larger when I programmatically make the legend wider. If a legend item has a very long text and you make the legend wide enough to contain it the images get very large AND the space between the legned items increases.
As an excersize in understanding how the legend is supposed to work I wrote a project that simply adds a legend and allows me to change all of its properties and then apply them. I have attached the project.
Would it be possible to provide some general instructions and guidelines (possible even a video) on how to use the LegendPrinterLayer?
Thanks!
Steve
001_LegendSizeTest.zip (46.3 KB)