OleNoteObjectVisible

[DllImport("ole32.dll", SetLastError = true)]
public static extern int OleNoteObjectVisible(
   IOleObject pObject,
   [MarshalAs(UnmanagedType.Bool)] bool fVisible
);

Microsoft documentation: Link

Last updated