Go to Google Code Home
Google SketchUp SkpReader C++ API Documentation (Labs)

Properties

ISkpStyle Interface Reference

A SketchUp style that holds a thumbnail of the style and a guid or location on disk to uniquely identify the style. More...

List of all members.

Properties

BSTR Name [get]
 [propget] Returns the name of the style.
BSTR DisplayName [get]
 [propget] Returns the localized display name of the style.
BSTR Description [get]
 [propget] Returns the description of the style.
BSTR Path [get]
 [propget] Returns the file path of a style.
BSTR Guid [get]
 [propget] Returns the GUID of the style.
BOOL DisplaysWatermark [get]
 [propget] Returns true if watermarks are being drawn.

Detailed Description

A SketchUp style that holds a thumbnail of the style and a guid or location on disk to uniquely identify the style.


Property Documentation

BSTR ISkpStyle::Description [get]

[propget] Returns the description of the style.

Return values:
pDesc The style's description.
Returns:
S_OK : if successful
E_POINTER : if pDesc == NULL
BSTR ISkpStyle::DisplayName [get]

[propget] Returns the localized display name of the style.

Return values:
pVal The style's localized display name.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
BOOL ISkpStyle::DisplaysWatermark [get]

[propget] Returns true if watermarks are being drawn.

Return values:
pVal returns true if watermarks are being drawn.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
BSTR ISkpStyle::Guid [get]

[propget] Returns the GUID of the style.

Return values:
pVal The style's GUID. The style may not have a GUID if is a style from disk and should use it's path to identify it.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
BSTR ISkpStyle::Name [get]

[propget] Returns the name of the style.

Return values:
pVal The style's name.
Returns:
S_OK : if successful
E_POINTER : if any of the required arguments are NULL
E_FAIL : internal errors
BSTR ISkpStyle::Path [get]

[propget] Returns the file path of a style.

Return values:
pPath The style's path. The style could have no path if it is an in model style and should use it's GUID to identify it.
Returns:
S_OK : if successful
E_POINTER : if pDesc == NULL

©2010 Google - Google Home - About Google