bCheckLayer

(Optional parameter) Indicates whether to verify the existenece of the layer as given by the LayerName property (which is specified by the GraphicObjectAttributes property). Possible values are:

Value

Meaning

VARIANT_TRUE

Verify the existence of the layer to which the object will be added. If the layer doesn’t exist, the method will return an error.

VARIANT_FALSE

Add the object without checking the existence of the layer.

The default value of this parameter is VARIANT_FALSE.