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

#include <IXPPreferences.h>

Inheritance diagram for IXPPreferences:
IPMUnknown

Public Types

enum  { kDefaultIID = IID_IXPSETPREFERENCESCMDDATA }
 
enum  BlendDevice { kInvalid = 0, kDocumentDefault, kDocumentRGB, kDocumentCMYK }
 

Public Member Functions

virtual BlendDevice GetBlendDevice () const =0
 
virtual void SetBlendDevice (BlendDevice dev)=0
 
virtual PMReal GetDisplayEffectDPI () const =0
 
virtual void SetDisplayEffectDPI (PMReal res)=0
 
virtual
ICMSSettings::renderingIntent 
GetBlendRenderingIntent () const =0
 
virtual void SetBlendRenderingIntent (ICMSSettings::renderingIntent intent)=0
 
virtual PMReal GetGlobalLightAngle () const =0
 
virtual void SetGlobalLightAngle (const PMReal &angle)=0
 
virtual PMReal GetGlobalLightAltitude () const =0
 
virtual void SetGlobalLightAltitude (const PMReal &altitude)=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

Transparency preferences.

Member Function Documentation

virtual PMReal IXPPreferences::GetGlobalLightAltitude () const
pure virtual

Get the global light altitude. This is the doc-wide 'synchronization' altitude used for all effects that have "Use Global Light" checked.

Returns
The global light altitude.
virtual PMReal IXPPreferences::GetGlobalLightAngle () const
pure virtual

Get the global light angle. This is the doc-wide 'synchronization' angle used for all effects that have "Use Global Light" checked.

Returns
The global light angle.
virtual void IXPPreferences::SetGlobalLightAltitude (const PMRealaltitude)
pure virtual

Set the global light altitude. This is the doc-wide 'synchronization' altitude used for all effects that have "Use Global Light" checked.

Parameters
angleIN The new altitude.
virtual void IXPPreferences::SetGlobalLightAngle (const PMRealangle)
pure virtual

Set the global light angle. This is the doc-wide 'synchronization' angle used for all effects that have "Use Global Light" checked.

Parameters
angleIN The new angle.