virtual L_INT LAnnToolBar::SetButtonVisible(uButton, bVisible)
Shows or hides the specified tool on the annotation toolbar.
The constant that specifies the tool. For a list of possible values, refer to Annotation Toolbar Buttons.
Flag that indicates whether to make the specified tool visible on the toolbar. Possible values are:
Value | Meaning |
---|---|
TRUE | Make the tool visible on the toolbar. |
FALSE | Make the tool invisible. |
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
When a tool is invisible, other tools in the toolbar are arranged so that no gaps are left, and so that their order is maintained (left-to-right and top-to-bottom, just as text would wrap).
Win32, x64.
For an example, refer to LAnnToolBar::Create.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document