InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IMasterElementsDrawSetting Class Referenceabstract

#include <IMasterElementsDrawSetting.h>

Inheritance diagram for IMasterElementsDrawSetting:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IDRAWMASTERELEMENTS }
 

Public Member Functions

virtual void Set (bool16 newSetting)=0
 
virtual bool16 Get ()=0
 
- Public Member Functions inherited from IPMUnknown
virtual IPMUnknownQueryInterface (PMIID interfaceID) const =0
 
virtual void AddRef () const =0
 
virtual void Release () const =0
 

Detailed Description

An command data interface for a spread which determines if the master associated with that spread draws. User can set on a per-spread basis whether master page items draw. In the UI, this is controlled via the Pages Panel menu Show/Hide Master Items.

See Also
kShowMasterItemsCmdBoss

Member Function Documentation

virtual bool16 IMasterElementsDrawSetting::Get ()
pure virtual

Return the data interface value.

Returns
bool16 kTrue to draw, kFalse to skip drawing master page items.
virtual void IMasterElementsDrawSetting::Set (bool16 newSetting)
pure virtual

Set the new value for whether master page items will be drawn for a spread.

Parameters
newSettingIN bool16 value, kTrue to draw, kFalse to skip drawing master page items.