Invisible Property

A Boolean value. Specifies whether the custom property is visible in the Custom Properties dialog box.

Applies to objects: CustomProp

Syntax

[[Let] RetVal = ] object.Invisible

[Let] object.Invisible = SetVal

The Invisible property syntax has these parts:

Part Description
object A reference to an instance of the object.
RetVal A Boolean type variable.
SetVal A Boolean type variable.

Remarks

If Invisible is TRUE the corresponding CustomProp object won't be displayed in the Custom Properties dialog.

Example

This example demonstrates working with the CustomProp object.

Dim MyShape As Shape, MyProperty as  CustomProp

' Create a Shape
MyShape = thisDoc.ActivePage.DrawRect(100,100,1000,1000)
' Create custom properties for MyShape MyProperty = MyShape.AddCustomProp()
' Working with the properties of MyProperty MyProperty.Label = "IP"
MyProperty.Prompt = "TCP/IP address"
MyProperty.Type = 3
MyProperty.Format = "192.168.0.1;192.168.0.2;192.168.0.3"
MyProperty.Value = "192.168.0.1"
MyProperty.Invisible = FALSE
MyProperty.Verify = TRUE

 

See Also

CustomProp Object, Document Object