Misc
Misc class
Contains various elements of shapes and groups, such as those that control selection highlighting and visibility.
Properties
| Name | Type | Description |
|---|---|---|
| Del | int | A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca |
| NoObjHandles | BoolValue | Specifies whether selection handles are displayed when the shape is selected. |
| NonPrinting | BoolValue | Specifies whether a selected shape can be printed. |
| NoCtlHandles | BoolValue | Specifies whether control handles are displayed when the shape is selected. |
| NoAlignBox | BoolValue | Specifies whether the selection rectangle is displayed when the shape is selected. |
| UpdateAlignBox | BoolValue | Specifies whether to recalculate a shape’s selection rectangle whenever a control handle is moved. |
| HideText | BoolValue | Hides the text for a shape. You can view text, edit properties, and apply styles to the text in the text block, although |
| DynFeedback | DynFeedback | Specifies the type of visual feedback provided to users when they drag a connector |
| GlueType | GlueType | Specifies whether dynamic (shape-to-shape) glue is allowed when connecting to a shape |
| WalkPreference | WalkPreference | Specifies whether an endpoint of a 1-D shape moves to a horizontal or vertical connection point on the shape it is glued |
| BegTrigger | DoubleValue | Contains a trigger formula generated by Microsoft Visio that determines whether to move the begin point of a 1-D shape t |
| EndTrigger | DoubleValue | Contains a trigger formula generated by Microsoft Visio. This trigger formula determines whether to move the end point o |
| ObjType | ObjType | Specifies whether objects are placeable or routable in diagrams when you use Microsoft Visio to lay out shapes on the dr |
| Comment | Str2Value | Contains the comment text in string format for a shape. |
| IsDropSource | BoolValue | Specifies whether the shape can be added to a group by dropping it onto the group |
| IsReplaceLockShapeData | BoolValue | Indicates whether the values of specified cells in a master shape overwrite the values (including local values) of a sha |
| NoLiveDynamics | BoolValue | Specifies whether a shape dynamically resizes or rotates as the user manipulates it. |
| LocalizeMerge | BoolValue | Determines whether shapes are localized (whether their LangIDelement is reset) when they are copied between documents. |
| Calendar | Calendar | Determines the calendar that is used for custom properties, text fields, and element formulas. |
| LangID | IntValue | Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered. |
| ShapeKeywords | Str2Value | Contains search keywords that have been assigned to custom master shapes. |
| DropOnPageScale | DoubleValue | Determines the percentage by which a shape is scaled when it is dropped on the drawing page. |
Misc.Del property
A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally. The value of the property is BOOL integer constant.
Type: int
Misc.NoObjHandles property
Specifies whether selection handles are displayed when the shape is selected.
Type: BoolValue
Misc.NonPrinting property
Specifies whether a selected shape can be printed.
Type: BoolValue
Misc.NoCtlHandles property
Specifies whether control handles are displayed when the shape is selected.
Type: BoolValue
Misc.NoAlignBox property
Specifies whether the selection rectangle is displayed when the shape is selected.
Type: BoolValue
Misc.UpdateAlignBox property
Specifies whether to recalculate a shape’s selection rectangle whenever a control handle is moved.
Type: BoolValue
Misc.HideText property
Hides the text for a shape. You can view text, edit properties, and apply styles to the text in the text block, although the changes will not appear until you specify the HideText element as 0.
Type: BoolValue
Misc.DynFeedback property
Specifies the type of visual feedback provided to users when they drag a connector
Type: DynFeedback
Misc.GlueType property
Specifies whether dynamic (shape-to-shape) glue is allowed when connecting to a shape
Type: GlueType
Misc.WalkPreference property
Specifies whether an endpoint of a 1-D shape moves to a horizontal or vertical connection point on the shape it is glued to, using dynamic glue, when the shape is moved to an ambiguous position.
Type: WalkPreference
Misc.BegTrigger property
Contains a trigger formula generated by Microsoft Visio that determines whether to move the begin point of a 1-D shape to maintain its connection to another shape.
Type: DoubleValue
Misc.EndTrigger property
Contains a trigger formula generated by Microsoft Visio. This trigger formula determines whether to move the end point of a 1-D shape to maintain its connection to another shape.
Type: DoubleValue
Misc.ObjType property
Specifies whether objects are placeable or routable in diagrams when you use Microsoft Visio to lay out shapes on the drawing page.
Type: ObjType
Misc.Comment property
Contains the comment text in string format for a shape.
Type: Str2Value
Misc.IsDropSource property
Specifies whether the shape can be added to a group by dropping it onto the group
Type: BoolValue
Misc.IsReplaceLockShapeData property
Indicates whether the values of specified cells in a master shape overwrite the values (including local values) of a shape being replaced during a shape replacement operation.
Type: BoolValue
Misc.NoLiveDynamics property
Specifies whether a shape dynamically resizes or rotates as the user manipulates it.
Type: BoolValue
Misc.LocalizeMerge property
Determines whether shapes are localized (whether their LangIDelement is reset) when they are copied between documents.
Type: BoolValue
Misc.Calendar property
Determines the calendar that is used for custom properties, text fields, and element formulas.
Type: Calendar
Misc.LangID property
Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.
Type: IntValue
Misc.ShapeKeywords property
Contains search keywords that have been assigned to custom master shapes.
Type: Str2Value
Misc.DropOnPageScale property
Determines the percentage by which a shape is scaled when it is dropped on the drawing page.
Type: DoubleValue