How do you create image of a vertical arrangement which contain table with text and symbols?

i'm creating an app which generate a table with text and notation symbols in a vertical arrangement. Now, i need to show and save this output as a pdf and image(in both format).
Can anyone help me in this regard?


take a look at this extension to create the pdf:

i have used the Extension
but i also want to export as an image or picture format
is there any simple possible method?

Maybe an extension like this:

Thank you so much