[CONNECT C++] Example of Place Note with Leader

Are there any examples of a C++ app that creates a Note with leader?