How to print Yearly Maximum DrawDown in optimization reports.

Hi Guys,
I need to print Yearly Maximum DD for my optimization reports. I don't know how. Could anyone help?