You are on page 1of 1

CHAPTER 4: Graphics Graphic page items 122

There are additional flags on the command that do not change the performance group but do change
global preferences:

 Pass kTrue as the second parameter of ISetDrawOptionsCmdData::SetSet method, to set this


performance group as the active group.

 Pass kTrue to ISetDrawOptionsCmdData::SetIgnore, to ignore page item overrides.

 Pass kTrue to ISetDrawOptionsCmdData::SetSaveLocalOverrides, to let page item overrides be saved


with the document.

Sample code

SnpManipulateDisplayPerformance.cpp

Related APIs

 DrawOptionsSet

 IDrawOptions

 kSetDrawOptionsCmdBoss

Changing layout display performance settings


You can use a display performance group other than the default performance group for a layout window.
Each layout window has a default display performance group.

For instructions to modify group settings, see “Modifying settings of a display performance group”.

Solution

1. Obtain the layout window for which you want to change the display performance group.

2. Query IDrawOptionsSetID on kLayoutWidgetBoss.

3. Call IDrawOptionsSetID::SetID(groupID). The groupID could be set to IDrawOptions::kFastGroup,


IDrawOptions::kTypicalGroup, or IDrawOptions::kHighQualityGroup.

Sample code

SnpManipulateDisplayPerformance.cpp

Related APIs

 IDrawOptionsSetID

 kLayoutWidgetBoss

You might also like