Archicad 29 C++ API
|
A class that contains functions related to zone labeling by favorite. More...
#include <ZoneLabelingSettings.hpp>
Classes | |
class | Modifier |
Modifier of the ZoneLabelingSettings. More... | |
Public Member Functions | |
bool | IsAutomaticLabelingOn () const |
A function to return if a label should automatically be placed onto new zone or not. | |
Result< GS::UniString > | GetSelectedFavoriteName () const |
A function to return the selected favorite from infobox for zone. | |
template<class ModifierFunc > | |
Result< void > | Modify (ModifierFunc &&modifierFunc) |
Executes the given modifier scope in a NotUndoable command. | |
![]() | |
Object (std::shared_ptr< Impl::ObjectImpl > impl) | |
Constructs a new object. | |
const API_Token & | GetToken () const |
Get the token for this object. | |
Friends | |
ZoneLabelingSettings | CreateZoneLabelingSettings () |
A function to create zone labeling settings instance, that lets you query and manipulate zone label favorite related data. | |
Additional Inherited Members | |
![]() | |
~Object () | |
Default destructor. | |
![]() | |
std::shared_ptr< Impl::ObjectImpl > | mImpl |
Impl object given by constructor. | |
A class that contains functions related to zone labeling by favorite.
Result< GS::UniString > ACAPI::ZoneLabelingSettings::GetSelectedFavoriteName | ( | ) | const |
A function to return the selected favorite from infobox for zone.
bool ACAPI::ZoneLabelingSettings::IsAutomaticLabelingOn | ( | ) | const |
A function to return if a label should automatically be placed onto new zone or not.
Result< void > ACAPI::ZoneLabelingSettings::Modify | ( | ModifierFunc && | modifierFunc | ) |
Executes the given modifier scope in a NotUndoable command.
modifierFunc | The modifier scope (lambda, std::function or function pointer) the caller wants to execute. |
|
friend |
A function to create zone labeling settings instance, that lets you query and manipulate zone label favorite related data.