SketchUp C API
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Related Functions
SUOptionsManagerRef Struct Reference

Provides access to the different options provider objects in the model. Available options providers are: PageOptions, SlideshowOptions, UnitsOptions, NamedOptions, and PrintOptions. More...

#include <SketchUpAPI/model/options_manager.h>

Related Functions

(Note that these are not member functions.)

enum SUResult SUOptionsManagerGetNumOptionsProviders (SUOptionsManagerRef options_manager, size_t *count)
 Gets the number of available options providers. More...
 
enum SUResult SUOptionsManagerGetOptionsProviderNames (SUOptionsManagerRef options_manager, size_t len, SUStringRef options_provider_names[], size_t *count)
 Retrieves options providers associated with the options manager. More...
 
enum SUResult SUOptionsManagerGetOptionsProviderByName (SUOptionsManagerRef options_manager, const char *name, SUOptionsProviderRef *options_provider)
 Retrieves the options provider given a name. More...
 

Detailed Description

Provides access to the different options provider objects in the model. Available options providers are: PageOptions, SlideshowOptions, UnitsOptions, NamedOptions, and PrintOptions.

Friends And Related Function Documentation

enum SUResult SUOptionsManagerGetNumOptionsProviders ( SUOptionsManagerRef  options_manager,
size_t *  count 
)
related

Gets the number of available options providers.

Parameters
[in]options_managerThe options manager object.
[out]countThe number of options available.
Returns
enum SUResult SUOptionsManagerGetOptionsProviderByName ( SUOptionsManagerRef  options_manager,
const char *  name,
SUOptionsProviderRef options_provider 
)
related

Retrieves the options provider given a name.

Parameters
[in]options_managerThe options manager object.
[in]nameThe name of the options provider object to get. Assumed to be UTF-8 encoded.
[out]options_providerThe options_provider object retrieved.
Returns
enum SUResult SUOptionsManagerGetOptionsProviderNames ( SUOptionsManagerRef  options_manager,
size_t  len,
SUStringRef  options_provider_names[],
size_t *  count 
)
related

Retrieves options providers associated with the options manager.

Parameters
[in]options_managerThe options manager object.
[in]lenThe number of options provider names to retrieve.
[out]options_provider_namesThe options provider names retrieved.
[out]countThe number of options provider names retrieved.
Returns

The documentation for this struct was generated from the following files: