How to display(hide) the note(with API method)?

Hope use API method.

First hide note, Second display note.

SolidworksApi macros