PDF and DXF Macro Checkbox

Hello all,

I was looking all over the forums to see if I could find a subject that is close to my issue that I am coming across, but it doesn't seem like I found one (or maybe I'm not looking hard enough). Here's my issue:

I am trying to create a Macro that will save a drawing as a PDF or DXF, the only difference is I'm trying to implement a checkbox so that the user has the option of whether to save the drawing as a PDF/DXF/or both. Something along the lines the image seen below:

I was wondering if it could be possible to go this route.

Any help will be appreciated.

SolidworksApi macros