Misc

Misc class

Contains various elements of shapes and groups, such as those that control selection highlighting and visibility.

Properties

NameTypeDescription
DelintA flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted loca
NoObjHandlesBoolValueSpecifies whether selection handles are displayed when the shape is selected.
NonPrintingBoolValueSpecifies whether a selected shape can be printed.
NoCtlHandlesBoolValueSpecifies whether control handles are displayed when the shape is selected.
NoAlignBoxBoolValueSpecifies whether the selection rectangle is displayed when the shape is selected.
UpdateAlignBoxBoolValueSpecifies whether to recalculate a shape’s selection rectangle whenever a control handle is moved.
HideTextBoolValueHides the text for a shape. You can view text, edit properties, and apply styles to the text in the text block, although
DynFeedbackDynFeedbackSpecifies the type of visual feedback provided to users when they drag a connector
GlueTypeGlueTypeSpecifies whether dynamic (shape-to-shape) glue is allowed when connecting to a shape
WalkPreferenceWalkPreferenceSpecifies whether an endpoint of a 1-D shape moves to a horizontal or vertical connection point on the shape it is glued
BegTriggerDoubleValueContains a trigger formula generated by Microsoft Visio that determines whether to move the begin point of a 1-D shape t
EndTriggerDoubleValueContains a trigger formula generated by Microsoft Visio. This trigger formula determines whether to move the end point o
ObjTypeObjTypeSpecifies whether objects are placeable or routable in diagrams when you use Microsoft Visio to lay out shapes on the dr
CommentStr2ValueContains the comment text in string format for a shape.
IsDropSourceBoolValueSpecifies whether the shape can be added to a group by dropping it onto the group
IsReplaceLockShapeDataBoolValueIndicates whether the values of specified cells in a master shape overwrite the values (including local values) of a sha
NoLiveDynamicsBoolValueSpecifies whether a shape dynamically resizes or rotates as the user manipulates it.
LocalizeMergeBoolValueDetermines whether shapes are localized (whether their LangIDelement is reset) when they are copied between documents.
CalendarCalendarDetermines the calendar that is used for custom properties, text fields, and element formulas.
LangIDIntValueIndicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.
ShapeKeywordsStr2ValueContains search keywords that have been assigned to custom master shapes.
DropOnPageScaleDoubleValueDetermines 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