com.aspose.diagram

  • java.lang.Object
    • com.aspose.diagram.Misc
public class Misc 
extends java.lang.Object

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

Property Getters/Setters Summary
DoubleValuegetBegTrigger()
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.
CalendargetCalendar()
Determines the calendar that is used for custom properties, text fields, and element formulas.
Str2ValuegetComment()
Contains the comment text in string format for a shape.
intgetDel()
void
setDel(intvalue)
           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.
DoubleValuegetDropOnPageScale()
Determines the percentage by which a shape is scaled when it is dropped on the drawing page.
DynFeedbackgetDynFeedback()
Specifies the type of visual feedback provided to users when they drag a connector
DoubleValuegetEndTrigger()
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.
GlueTypegetGlueType()
Specifies whether dynamic (shape-to-shape) glue is allowed when connecting to a shape
BoolValuegetHideText()
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.
BoolValueisDropSource()
Specifies whether the shape can be added to a group by dropping it onto the group
BoolValueisReplaceLockShapeData()
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.
IntValuegetLangID()
Indicates the locale ID (LCID) of the language in which the cell formula, text, custom property, or comment was entered.
BoolValuegetLocalizeMerge()
Determines whether shapes are localized (whether their LangIDelement is reset) when they are copied between documents.
BoolValuegetNoAlignBox()
Specifies whether the selection rectangle is displayed when the shape is selected.
BoolValuegetNoCtlHandles()
Specifies whether control handles are displayed when the shape is selected.
BoolValuegetNoLiveDynamics()
Specifies whether a shape dynamically resizes or rotates as the user manipulates it.
BoolValuegetNonPrinting()
Specifies whether a selected shape can be printed.
BoolValuegetNoObjHandles()
Specifies whether selection handles are displayed when the shape is selected.
ObjTypegetObjType()
Specifies whether objects are placeable or routable in diagrams when you use Microsoft Visio to lay out shapes on the drawing page.
Str2ValuegetShapeKeywords()
Contains search keywords that have been assigned to custom master shapes.
BoolValuegetUpdateAlignBox()
Specifies whether to recalculate a shape's selection rectangle whenever a control handle is moved.
WalkPreferencegetWalkPreference()
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.
 

    • Property Getters/Setters Detail

      • getDel/setDel

        public int getDel() / public void setDel(int value)
        
        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.
      • getNoObjHandles

        public BoolValue getNoObjHandles()
        
        Specifies whether selection handles are displayed when the shape is selected.
      • getNonPrinting

        public BoolValue getNonPrinting()
        
        Specifies whether a selected shape can be printed.
      • getNoCtlHandles

        public BoolValue getNoCtlHandles()
        
        Specifies whether control handles are displayed when the shape is selected.
      • getNoAlignBox

        public BoolValue getNoAlignBox()
        
        Specifies whether the selection rectangle is displayed when the shape is selected.
      • getUpdateAlignBox

        public BoolValue getUpdateAlignBox()
        
        Specifies whether to recalculate a shape's selection rectangle whenever a control handle is moved.
      • 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.
      • getDynFeedback

        public DynFeedback getDynFeedback()
        
        Specifies the type of visual feedback provided to users when they drag a connector
      • getGlueType

        public GlueType getGlueType()
        
        Specifies whether dynamic (shape-to-shape) glue is allowed when connecting to a shape
      • 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.
      • 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.
      • 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.
      • 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.
      • getComment

        public Str2Value getComment()
        
        Contains the comment text in string format for a shape.
      • isDropSource

        public BoolValue isDropSource()
        
        Specifies whether the shape can be added to a group by dropping it onto the group
      • 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.
      • getNoLiveDynamics

        public BoolValue getNoLiveDynamics()
        
        Specifies whether a shape dynamically resizes or rotates as the user manipulates it.
      • getLocalizeMerge

        public BoolValue getLocalizeMerge()
        
        Determines whether shapes are localized (whether their LangIDelement is reset) when they are copied between documents.
      • getCalendar

        public Calendar getCalendar()
        
        Determines the calendar that is used for custom properties, text fields, and element formulas.
      • getLangID

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

        public Str2Value getShapeKeywords()
        
        Contains search keywords that have been assigned to custom master shapes.
      • getDropOnPageScale

        public DoubleValue getDropOnPageScale()
        
        Determines the percentage by which a shape is scaled when it is dropped on the drawing page.