How to turn/off for the Display sheet format with API.

Sheet Format/Size

Display sheet format. Display border, title block, and so on.

SolidworksApi macros