Misc

Inheritance: java.lang.Object

public class Misc

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

Methods

Method Description
equals(Object arg0)
getBegTrigger() 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.
getCalendar() Determines the calendar that is used for custom properties, text fields, and element formulas.
getClass()
getComment() Contains the comment text in string format for a shape.
getDel() A flag indicating whether the element has been deleted locally.
getDropOnPageScale() Determines the percentage by which a shape is scaled when it is dropped on the drawing page.
getDynFeedback() Specifies the type of visual feedback provided to users when they drag a connector
getEndTrigger() Contains a trigger formula generated by Microsoft Visio.
getGlueType() Specifies whether dynamic (shape-to-shape) glue is allowed when connecting to a shape
getHideText() Hides the text for a shape.
getLangID() Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.
getLocalizeMerge() Determines whether shapes are localized (whether their LangIDelement is reset) when they are copied between documents.
getNoAlignBox() Specifies whether the selection rectangle is displayed when the shape is selected.
getNoCtlHandles() Specifies whether control handles are displayed when the shape is selected.
getNoLiveDynamics() Specifies whether a shape dynamically resizes or rotates as the user manipulates it.
getNoObjHandles() Specifies whether selection handles are displayed when the shape is selected.
getNonPrinting() Specifies whether a selected shape can be printed.
getObjType() Specifies whether objects are placeable or routable in diagrams when you use Microsoft Visio to lay out shapes on the drawing page.
getShapeKeywords() Contains search keywords that have been assigned to custom master shapes.
getUpdateAlignBox() Specifies whether to recalculate a shape’s selection rectangle whenever a control handle is moved.
getWalkPreference() 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.
hashCode()
isDropSource() Specifies whether the shape can be added to a group by dropping it onto the group
isReplaceLockShapeData() 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.
notify()
notifyAll()
setDel(int value) For the description of this property, please see getDel()
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

Parameter Type Description
arg0 java.lang.Object

Returns: boolean

getBegTrigger()

public DoubleValue getBegTrigger()

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.

Returns: DoubleValue

getCalendar()

public Calendar getCalendar()

Determines the calendar that is used for custom properties, text fields, and element formulas.

Returns: Calendar

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

getComment()

public Str2Value getComment()

Contains the comment text in string format for a shape.

Returns: Str2Value

getDel()

public int getDel()

A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

Returns: int

getDropOnPageScale()

public DoubleValue getDropOnPageScale()

Determines the percentage by which a shape is scaled when it is dropped on the drawing page.

Returns: DoubleValue

getDynFeedback()

public DynFeedback getDynFeedback()

Specifies the type of visual feedback provided to users when they drag a connector

Returns: DynFeedback

getEndTrigger()

public DoubleValue getEndTrigger()

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.

Returns: DoubleValue

getGlueType()

public GlueType getGlueType()

Specifies whether dynamic (shape-to-shape) glue is allowed when connecting to a shape

Returns: GlueType

getHideText()

public BoolValue getHideText()

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.

Returns: BoolValue

getLangID()

public IntValue getLangID()

Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.

Returns: IntValue

getLocalizeMerge()

public BoolValue getLocalizeMerge()

Determines whether shapes are localized (whether their LangIDelement is reset) when they are copied between documents.

Returns: BoolValue

getNoAlignBox()

public BoolValue getNoAlignBox()

Specifies whether the selection rectangle is displayed when the shape is selected.

Returns: BoolValue

getNoCtlHandles()

public BoolValue getNoCtlHandles()

Specifies whether control handles are displayed when the shape is selected.

Returns: BoolValue

getNoLiveDynamics()

public BoolValue getNoLiveDynamics()

Specifies whether a shape dynamically resizes or rotates as the user manipulates it.

Returns: BoolValue

getNoObjHandles()

public BoolValue getNoObjHandles()

Specifies whether selection handles are displayed when the shape is selected.

Returns: BoolValue

getNonPrinting()

public BoolValue getNonPrinting()

Specifies whether a selected shape can be printed.

Returns: BoolValue

getObjType()

public ObjType getObjType()

Specifies whether objects are placeable or routable in diagrams when you use Microsoft Visio to lay out shapes on the drawing page.

Returns: ObjType

getShapeKeywords()

public Str2Value getShapeKeywords()

Contains search keywords that have been assigned to custom master shapes.

Returns: Str2Value

getUpdateAlignBox()

public BoolValue getUpdateAlignBox()

Specifies whether to recalculate a shape’s selection rectangle whenever a control handle is moved.

Returns: BoolValue

getWalkPreference()

public WalkPreference getWalkPreference()

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.

Returns: WalkPreference

hashCode()

public native int hashCode()

Returns: int

isDropSource()

public BoolValue isDropSource()

Specifies whether the shape can be added to a group by dropping it onto the group

Returns: BoolValue

isReplaceLockShapeData()

public BoolValue isReplaceLockShapeData()

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.

Returns: BoolValue

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

setDel(int value)

public void setDel(int value)

For the description of this property, please see getDel()

Parameters:

Parameter Type Description
value int

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final native void wait(long arg0)

Parameters:

Parameter Type Description
arg0 long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

Parameter Type Description
arg0 long
arg1 int