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

#include <ISpectrumAttributes.h>

Inheritance diagram for ISpectrumAttributes:
IPMUnknown

Public Member Functions

virtual bool16 GetAttribute () const =0
 
virtual bool16 GetSpectrumType () 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

Color bar attribute data interface specifying how the color bar is to be created. The color bar is a widget in the color space panel. There's no set methods because the attributes are specified via the resource file when defining the color bar widget.

Member Function Documentation

virtual bool16 ISpectrumAttributes::GetAttribute () const
pure virtual

Return true if color bar widget includes the minimum and maximum swatch proxy. For color space color bar, minimum swatch proxy is a "white" color swatch proxy and the maximum swatch proxy is the "black" color swatch proxy.

virtual bool16 ISpectrumAttributes::GetSpectrumType () const
pure virtual

Return true if the color bar is a color space color bar. Otherwise kFalse indicates a transition color bar for minimum tint to maximum tint of a spcified color value.