I have more then 25 record types with different page layout. Each page layout is having different fields added on page layout.
I have a vf page which is rendered as PDF. On this page I have to get all the fields on page layout and add on this page.
Can I get this fields dynamically depending on record type and display on VF page?