LayerCOS_Layer
ObjectCosBoolean

Cos boolean objects can have a value of true or false.



Method Summary
 Method
 
Gets the value of the specified boolean object.
 
CosObj CosNewBoolean(CosDoc dP, ASBool indirect, ASBool value)
Creates a new boolean object associated with the specified document and having the specified value.




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

Syntax

ASBool CosBooleanValue(CosObj obj)

Gets the value of the specified boolean object.

An exception is raised if obj has the wrong Cos type.

Parameters

obj — 

The boolean Cos object whose value is obtained.

Returns

The value of obj.

See Also

Since

PI_COS_VERSION >= 0x00020000

File: CosProcs.h
Line: 514
CosNewBoolean() 
Product availability: All
Platform availability: All

Syntax

CosObj CosNewBoolean(CosDoc dP, ASBool indirect, ASBool value)

Creates a new boolean object associated with the specified document and having the specified value.

Parameters

dP — 

IN The document in which the boolean is used.

 
indirect — 

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

 
value — 

IN The value the new boolean object will have.

Returns

A Cos boolean object.

See Also

Since

PI_COS_VERSION >= 0x00020000

File: CosProcs.h
Line: 195