Hi Robert,
Sorry for the confusion, the SFV1.3 code works and the print contains the legend. What i was saying refers to what i am currently trying to do in SFV2.4, that is bring your dynamic legend into the SFV1.3 print code i copied over to SFV 2.4. Everything prints fine apart from the legend (which is not printing).
On further looking in the dynamic legend code, it seems that the legend items are filtered in the renderer (please correct me if i am wrong) which i am not doing currently. In my scenario, i create an AlivePDF grid which takes an array, but for some reason it is not getting displayed.
I need a way to get the dynamic legend content (after filtering based on visibility and scales) into an arraycollection, which i can then use in the AlivePDF grid. I think it would work then.
I am attaching what i have tried so far.