Palette.snapTo Method
Parent Object:
PaletteDefined in namespace "adsk::core" and the header file is <Core/UserInterface/Palette.h>
Description
Snaps this palette to another palette.
Syntax
"palette_var" is a variable referencing a Palette object.returnValue = palette_var.snapTo(palette, snapOption)
|
"palette_var" is a variable referencing a Palette object.
#include <Core/UserInterface/Palette.h>
returnValue = palette_var->snapTo(palette, snapOption);
|
Return Value
boolean |
Returns true if the palette was successfully snapped to the other palette. |
Parameters
palette |
Palette |
Specifies the palette to snap to. |
snapOption |
PaletteSnapOptions |
Specifies how this palette should be snapped to the other palette. |
Version
Introduced in version March 2017