LayerCOS_Layer
ObjectCosFixed

Fixed numbers may only be in decimal format. See Section 3.2.2 in the PDF Reference for details.



Method Summary
 Method
 
ASFixed CosFixedValue(CosObj obj)
Gets the value of obj as a fixed-point real number.
 
CosObj CosNewFixed(CosDoc dP, ASBool indirect, ASFixed value)
Creates a new real-number object from a fixed-point number associated with the specified document.




Method Detail
CosFixedValue()
Product availability: All
Platform availability: All

Syntax

ASFixed CosFixedValue(CosObj obj)

Gets the value of obj as a fixed-point real number.

Parameters

obj — 

The object whose value is obtained. It must have type CosInteger or CosReal (CosFixed). The result is undefined if the real value is outside the range of ASFixed numbers.

An exception is raised if the given object has the wrong Cos type.

Returns

The numeric value of obj, represented as a fixed-point number.

See Also

Since

PI_COS_VERSION >= 0x00020000

File: CosProcs.h
Line: 503
CosNewFixed() 
Product availability: All
Platform availability: All

Syntax

CosObj CosNewFixed(CosDoc dP, ASBool indirect, ASFixed value)

Creates a new real-number object from a fixed-point number associated with the specified document.

Parameters

dP — 

The document in which the number is used.

 
indirect — 

If true, it creates the real-number object as an indirect object, and sets the document (dP) object's PDDocNeedsSave flag (see PDDocFlags). If false, it creates the number as a direct object.

 
value — 

The real number, represented as a fixed-point number.

Returns

A Cos object of type CosReal (CosFixed).

See Also

Since

PI_COS_VERSION >= 0x00020000

File: CosProcs.h
Line: 179