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

Public Member Functions | Properties

ISkpPageM Interface Reference

Interface for modifying a page. More...

List of all members.

Public Member Functions

HRESULT AssignFrom ([in]ISkpPage *page)
 Assign the properties of this page from another page.
HRESULT ClearLayers ()
 Clears the array of hidden Layers.
HRESULT AddLayer ([in]ISkpLayer *pLayer)
 Add a Layer to the array of hidden Layers.
HRESULT ClearPhotoMatchImage ()
 Clears the Photo Match image.
HRESULT Activate ()
 Activates the view page.

Properties

BSTR Name [set]
 [propput] Sets the name of the page.
long Flags [set]
 [propput] Sets the bitfiled indicating which values are saved.
BOOL SketchAxesDisplayed [set]
 [propput] Sets whether the sketch axes are displayed.

Detailed Description

Interface for modifying a page.

Interface for modifying Pages.


Member Function Documentation

HRESULT ISkpPageM::Activate (  ) 

Activates the view page.

Returns:
S_OK : if successful
HRESULT ISkpPageM::AddLayer ( [in] ISkpLayer pLayer  ) 

Add a Layer to the array of hidden Layers.

Parameters:
pLayer A Layer to add to the array.
Returns:
S_OK : if successful
HRESULT ISkpPageM::AssignFrom ( [in] ISkpPage page  ) 

Assign the properties of this page from another page.

Returns:
S_OK : if successful
E_FAIL : internal errors
HRESULT ISkpPageM::ClearLayers (  ) 

Clears the array of hidden Layers.

Returns:
S_OK : if successful
HRESULT ISkpPageM::ClearPhotoMatchImage (  ) 

Clears the Photo Match image.

Returns:
S_OK : if successful

Property Documentation

long ISkpPageM::Flags [set]

[propput] Sets the bitfiled indicating which values are saved.

Returns:
S_OK : if successful
E_POINTER : if pLayers == NULL
BSTR ISkpPageM::Name [set]

[propput] Sets the name of the page.

Returns:
S_OK : if successful
E_FAIL : internal errors
BOOL ISkpPageM::SketchAxesDisplayed [set]

[propput] Sets whether the sketch axes are displayed.

Returns:
S_OK : if successful

©2010 Google - Google Home - About Google