Print Forms' Design-Style using X++

Hi,

I need to print/ export style defined in the design node of a number of forms in VAR layer. Can we achieve it using X++?

For reference, there is already a suggested solution in the duplicate thread on another forum.

The solution is in this link.