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

#include <IDrawOptionsSetID.h>

Inheritance diagram for IDrawOptionsSetID:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IDRAWOPTIONSSETID }
 

Public Member Functions

virtual void SetID (uint32 id, bool8 bDoInvalView=kTrue)=0
 
virtual uint32 GetID () const =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

IDrawOptionsSetID is an interface off of the layout's view which indicates which of the IDrawOptions to use when drawing page items in the view. Options include: IDrawOptions::kFastGroup, IDrawOptions::kTypicalGroup, IDrawOptions::kHighQualityGroup, and IDrawOptions::kNavigatorGroup. You can also pass in one of your own custom draw option sets. This interface is useful when you want to temporarily change the display settings in order to gain better performance.

From the UI, users are able to customize all but the kNavigator group via the Display Performance Preferences dialog.

See Also
IDrawOptions

Member Enumeration Documentation

anonymous enum

Default IID

Member Function Documentation

virtual uint32 IDrawOptionsSetID::GetID () const
pure virtual

Get the current display setting for the view associated with this interface.

virtual void IDrawOptionsSetID::SetID (uint32 id,
bool8 bDoInvalView = kTrue 
)
pure virtual

Set the ID of the IDrawOptions set to use when drawing in the view associated with this interface.

Parameters
id- IN - one of IDrawOptions::kFastGroup, IDrawOptions::kTypicalGroup, IDrawOptions::kHighQualityGroup, and IDrawOptions::kNavigatorGroup.
bDoInvalView- IN - pass kTrue to automatically invalidate the view if the ID setting has changed.
Returns
none