LayerPDFEdit_Layer
ObjectPDEDeviceNColors

A color space with a variable number of device-dependent components. It is usually used to store multiple spot colors in a single color space.



Typedef Summary
 Typedef
 PDEDeviceNColors
A color space with a variable number of device-dependent components. It is usually used to store multiple spot colors in a single color space.
Method Summary
 Method
 
PDEDeviceNColors PDEDeviceNColorsCreate(INASFixed* pColorValues, INASInt32 numValues)
Creates an object that can be used to store n color components when in a DeviceN color space.
 
Gets the value of a color component of a PDEDeviceNColors color space.

Typedefs Detail
PDEDeviceNColors 
Product availability: All
Platform availability: All

Syntax

typedef struct _t_PDEDeviceNColors* PDEDeviceNColors;

A color space with a variable number of device-dependent components. It is usually used to store multiple spot colors in a single color space.

See Also


File: PEExpT.h
Line: 362



Method Detail
PDEDeviceNColorsCreate()
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

PDEDeviceNColors PDEDeviceNColorsCreate(INASFixed* pColorValues, INASInt32 numValues)

Creates an object that can be used to store n color components when in a DeviceN color space.

Call PDERelease() to dispose of the returned PDEDeviceNColors object when finished with it.

Parameters

pColorValues — 

IN/OUT A pointer to an array of ASFixed values.

 
numValues — 

IN/OUT The length of the array.

Returns

An object containing values specifying a color in a PDEDeviceNColors color space.

See Also

Exceptions

genErrNoMemory

Since


File: PEWProcs.h
Line: 1605
PDEDeviceNColorsGetColorValue() 
Product availability: Acrobat, PDFL
Platform availability: Macintosh, Windows, UNIX

Syntax

ASFixed PDEDeviceNColorsGetColorValue(INPDEDeviceNColors colors, INASInt32 index)

Gets the value of a color component of a PDEDeviceNColors color space.

Parameters

colors — 

IN/OUT A PDEDeviceNColors object returned by PDEDeviceNColorsCreate().

 
index — 

IN/OUT The index of the color component to return.

Returns

The value of the requested color component.

See Also

Exceptions

genErrBadParm

Since


File: PERProcs.h
Line: 1747