aspose.diagram
Use these types to programmatically manipulate Visio shapes, pages, controls, and layout properties. The reference lists each class, enum, and their members with usage details.
Classes
| Class | Description |
|---|---|
| AbstractInterruptMonitor | Monitor for interruption requests in all time-consuming operations. |
| Act | Defines custom command names that appear on an object’s shortcut menu and specifies the actions that the commands take. |
| ActCollection | Act collection. |
| ActiveXControl | Represents the ActiveX control. |
| ActiveXControlBase | Represents the ActiveX control. |
| Align | Indicates the alignment of a shape with respect to the guide or guide point to which the shape is glued. The Align eleme |
| Alignment | Specifies the tab alignment. |
| Annotation | Contains elements that contain information about comments inserted into a document page. |
| AnnotationCollection | Annotation collection. |
| ArcTo | Contains the x- and y-coordinates and bow of a circular arc represented respectively by the X, Y, and A elements. |
| ArcToCollection | ArcTo collection. |
| ArrowSize | Specifies the size of the arrowhead of the line. |
| AutoLinkComparison | Defines a rule that compares a column in the parent DataRecordset element with a shape data item from the last successfu |
| AutoSpaceOptions | Represents autospace options. |
| Bevel | Represents a bevel of a shape |
| BevelLightingType | Specifies the type of shadow for a shape. |
| BevelMaterialType | Specifies the type of shadow for a shape. |
| BevelType | Specifies the type of shadow for a shape. |
| BoolValue | Boolean value. |
| Bullet | Determines the bullet style. |
| CalculateOptions | Represents options for calculation. |
| Calendar | Determines the calendar that is used for custom properties, text fields, and element formulas. |
| Case | Determines the case of a shape’s text. |
| Char | Contains the formatting attributes for the shape’s text, such as font, color, text style, case, position relative to the |
| CharCollection | Char collection. |
| CheckBoxActiveXControl | Represents a CheckBox ActiveX control. |
| ColorEntry | Contains a color table entry. Each color table entry specifies a standard color that is available for application to obj |
| ColorEntryCollection | Contains the document’s color table. Each document contains a single color table, which lists the 24 standard colors tha |
| ColorValue | Represents color value |
| ComboBoxActiveXControl | Represents a ComboBox ActiveX control. |
| CommandButtonActiveXControl | Represents a command button. |
| CompoundType | Specifies the size of the arrowhead of the line. |
| ConFixedCode | Determines when a connector reroutes. |
| ConLineJumpCode | Determines whether a connector jumps when two connectors cross. |
| ConLineJumpDirX | Determines the line jump direction for line jumps occurring on a horizontal segment of a dynamic connector. |
| ConLineJumpDirY | Determines the line jump direction for line jumps occurring on a vertical segment of a dynamic connector. |
| ConLineJumpStyle | Determines the line jump style for line jumps on a dynamic connector. |
| ConLineRouteExt | Determines the appearance of a connector. |
| ConType | Specifies the type of behavior the x or y-coordinate of the control handle exhibits after the handle is moved. |
| Connect | Represents a connection between two shapes in a drawing, such as a line and a box in an organization chart. |
| ConnectCollection | Connect collection. |
| Connection | Contains elements for one connection point defined for the shape. |
| ConnectionABCD | The ConnectionABCD element is an obsolete version of the Connection element and exists only for backward compatibility. |
| ConnectionABCDCollection | ConnectionABCD collection. |
| ConnectionCollection | Connection collection. |
| ConnectorRule | Represents connector rule between two shapes with a connector,Including which connection point of which shape it starts |
| ContainerProperties | ContainerProperties for shape. |
| Control | Contains elements for the x- and y-coordinates of each control handle defined for a shape, and elements that specify the |
| ControlCollection | Control collection. |
| Coordinate | Abstract class for the x- and y-coordinates. |
| CoordinateCollection | Coordinate collection. |
| Cp | Marks the beginning of a character properties run that is formatted according to the corresponding Char element. The run |
| CustomProp | CustomProp structure. |
| CustomPropCollection | CustomProps collection. |
| CustomValue | Value of property. |
| DataColumn | Defines how a data column appears in the External Data window in the Visio user interface and qualifies the data in the |
| DataColumnCollection | DataColumn collection. |
| DataConnection | Abstracts communication between one or more DataRecordset elements and a non-XML data source. |
| DataConnectionCollection | DataConnection collection. |
| DataRecordSet | Stores, formats, refreshes, and exposes data queried from a database in Microsoft Visio. |
| DataRecordSetCollection | DataRecordSet collection. |
| DateValue | Date and time value. |
| Diagram | Root element of Visio objects hierarchy. |
| DiagramException | Base class for all Aspose.Diagram exceptions |
| DiagramSaveOptions | Can be used to specify additional options when saving a diagram into Visio (VDX\VSX) format. At the moment provides only |
| DisplayMode | When it is contained in a Group element, the DisplayMode element specifies how a group shape and its members are display |
| DisplayModeSmartTagDef | DisplayMode element determines whether the smart tag appears when the user pauses the mouse over the tag, when the shape |
| DocProps | Contains elements that control the document’s preview quality, scope, and output format. |
| DocumentProperties | Contains document property elements such as the document’s title, author, and so on. |
| DocumentSettings | Contains elements that specify document settings. |
| DocumentSheet | Specifies a document’s ShapeSheet structure. |
| DoubleValue | Double value |
| DrawingResizeType | Determines whether the drawing page resizes automatically to fit the diagram. |
| DrawingScaleType | Specifies the type of drawing scale to use for a page. |
| DrawingSizeType | Specifies the drawing size of a page. |
| DrawioSaveOptions | Represents the save options for drawio format. |
| DynFeedback | Specifies the type of visual feedback provided to users when they drag a connector. When the mouse button is released, t |
| Ellipse | Contains elements specifying the x- and y-coordinates of the ellipse’s center point and two points on the ellipse. |
| EllipseCollection | Ellipse collection. |
| EllipticalArcTo | Contains elements that specify information about an elliptical arc. |
| EllipticalArcToCollection | EllipticalArcTo collection. |
| Event | Contains elements that specify formulas that control shape events. |
| EventItem | Encapsulates an event code. An EventItem element can trigger two kinds of actions: it can run an add-on, or it can send |
| EventItemCollection | EventItem collection. |
| Field | Contains elements that specify functions and formulas inserted in the shape’s text. |
| FieldCollection | Field collection. |
| FileFontSource | Represents the single TrueType font file stored in the file system. |
| FileFormatInfo | Contains data returned by FileFormatUtil file format detection methods. |
| FileFormatUtil | Provides utility methods for converting file format enums to strings or file extensions and back. |
| Fill | Contains the current fill formatting values for the shape and the shape’s drop shadow, including pattern, foreground col |
| Fld | Indicates a text-field insertion point for the corresponding Field element. |
| FloatPointNumCollection | Contains a collection of doubling point numbers |
| FolderFontSource | Represents the folder that contains TrueType font files. |
| Font | Contains information about a font. |
| FontCollection | Contains a collection of Font elements. |
| FontConfigs | Specifies font settings |
| FontSourceBase | This is an abstract base class for the classes that allow the user to specify various font sources |
| Foreign | Contains elements specifying the width and height of an object from another program used in a Microsoft Visio document. |
| ForeignData | Contains a MIME (Multipurpose Internet Mail Extensions) encoded BLOB of picture data, such as Windows metafile, bitmap, |
| FormatTxt | Abstract class for formatting of text |
| FormatTxtCollection | FormatTxt collection which contains the text of a shape. |
| Geom | Contains elements that specify the coordinates of the vertices for the lines and arcs that make up the shape. If the sha |
| GeomCollection | Geom collection. |
| GlowEffect | This class specifies a glow effect, in which a color blurred outline is added outside the edges of the object. |
| GlueType | Specifies whether dynamic (shape-to-shape) glue is allowed when connecting to a shape. |
| GradientFill | Represents the gradient fill. |
| GradientStop | Represents the gradient stop. |
| GradientStopCollection | Represents the gradient stop collection. |
| GridDensity | Specifies the type of horizontal/vertical grid to use for a page. |
| Group | Contains elements that control how you add shapes to a group, move members of a group, and select groups. |
| HTMLSaveOptions | Allows to specify additional options when rendering diagram pages to HTML. |
| HeaderFooter | Contains elements for a document’s header and footer. |
| HeaderFooterFont | Specifies the font used for the header and footer text. |
| Help | Contains elements specifying the Shape element’s Help file topic and copyright information. |
| HorzAlign | Specifies the horizontal alignment of text in the shape’s text block. |
| Hyperlink | Contains elements for creating multiple jumps between a shape or drawing page and another drawing page, another file, or |
| HyperlinkCollection | Hyperlink collection. |
| Image | Contains the gamma, brightness, contrast, blur, sharpen, denoise, and transparency values for a bitmap. |
| ImageActiveXControl | Represents the image control. |
| ImageSaveOptions | Allows to specify additional options when rendering diagram pages to images. |
| IndividualFontConfigs | Font configs for each Diagram object. |
| InfiniteLine | Contains elements specifying the x- and y-coordinates of two points on an infinite line. The X and Y elements specify th |
| InfiniteLineCollection | InfiniteLine collection. |
| IntValue | Integer value |
| InterruptMonitor | Represents all operator about the interrupt. |
| Issue | Represents a single validation issue in the document. |
| IssueCollection | Issue collection. |
| IssueTarget | Depending on the target of the parent validation issue, specifies either the page, or both the page and the shape, that |
| LabelActiveXControl | Represents the label ActiveX control. |
| Layer | Contains elements that define a single layer and its properties for a page. |
| LayerCollection | Layer collection. |
| LayerMem | Contains the LayerMember element, which specifies each layer to which the shape is assigned. |
| Layout | Contains elements that control shape placement and connector routing settings. |
| LayoutOptions | Used to specify style and additional options of layout of shapes to perform Re-Layout of page(pages). |
| License | Provides methods to license the component. |
| Line | Contains elements specifying general positioning information about a shape. |
| LineAdjustFrom | Specifies which dynamic connectors to space apart if they route on top of each other. |
| LineAdjustTo | Specifies which dynamic connectors to line up on top of one another if they route on top of each other. |
| LineJumpCode | Determines the dynamic connectors to which you want to add jumps. |
| LineJumpStyle | Specifies the line jump style for all connectors on the drawing page that don’t have a local line jump style. |
| LinePattern | Specifies the line pattern of the shape. |
| LineRouteExt | Specifies the default appearance for all connectors on a page. |
| LineTo | Contains x- and y-coordinates of the ending vertex of a straight line segment. These coordinates are contained in the X |
| LineToCollection | LineTo collection. |
| ListBoxActiveXControl | Represents a ListBox ActiveX control. |
| LoadFilter | Represents the filter that provides options for loading data when loading diagram from template. User may specify the fi |
| LoadOptions | Allows to specify additional options when loading a diagram into a Diagram object. |
| LocalizeFont | Specifies whether the shape text should be localized (translated into another language). |
| Margin | Specifies the margin. |
| Master | Contains elements that define a master for the document. A master is a shape on a stencil that you use repeatedly to cre |
| MasterCollection | Master collection. |
| MasterShortcut | Specifies a master shortcut defined in the document. |
| MasterShortcutCollection | MasterShortcut collection. |
| MemoryFontSource | Represents the single TrueType font file stored in memory. |
| Metered | Provides methods to set metered key. |
| MilestoneHelper | MilestoneHelper to set property of milestone shape. |
| Misc | Contains various elements of shapes and groups, such as those that control selection highlighting and visibility. |
| MoveTo | Contains the x- and y-coordinates of the first vertex of a shape, or contains the x- and y-coordinates of the first vert |
| MoveToCollection | MoveTo collection. |
| NURBSTo | Contains the x- and y-coordinates, position of the second to last knot, position of the last weight, position of the fir |
| NURBSToCollection | NURBSTo collection. |
| ObjType | Specifies whether objects are placeable or routable in diagrams when you use Microsoft Visio to lay out shapes on the dr |
| ObjectKind | Indicates the type of text field. |
| OutputFormat | Specifies the output format for a drawing. |
| Page | Contains elements that define a page in the document. |
| PageCollection | Page collection. |
| PageEndSavingArgs | Info for a page ends saving process. |
| PageLayout | Contains cells that control the page layout settings for shapes and connectors, such as spacing between all shapes on th |
| PageLineJumpDirX | Specifies the direction of line jumps on horizontal segments of dynamic connectors on the drawing page for which you hav |
| PageLineJumpDirY | Specifies the direction of line jumps on vertical dynamic connectors on the drawing page for which you haven’t applied a |
| PageProps | Contains cells that control page attributes, such as the page width, height, and scale. |
| PageSavingArgs | Info for a page saving process. |
| PageSheet | Contains elements that define the page sheet for a Page or Master element. |
| PageSize | Contains information about page size for the generated images. |
| PageStartSavingArgs | Info for a page starts saving process. |
| Para | Contains the paragraph formatting elements for the shape’s text, such as indents, line spacing, bullets, and horizontal |
| ParaCollection | Para collection. |
| PdfBookmarkEntry | |
| PdfEncryptionDetails | Contains details for a pdf encryption. |
| PdfSaveOptions | Allows to specify additional options when rendering diagram pages to PDF. |
| PlaceDepth | For a drawing that is laid out automatically, specifies the method by which the drawing is analyzed before creating the |
| PlaceFlip | Specifies how placeable shapes flip and/or rotate on a page when shapes are laid out using the Lay Out Shapes command in |
| PlaceStyle | Specifies how shapes are placed on the page when shapes are laid out when a user selects Lay Out Shapes (Shape menu). |
| PolylineTo | Contains x- and y-coordinates of the last point of a polyline and a polyline formula. The coordinates are specified in t |
| PolylineToCollection | PolylineTo collection. |
| Pos | Specifies the position of the shape’s text relative to the baseline. |
| Pp | Specifies the beginning of a paragraph properties run. The run is defined to the end of the text or until the next |
| PreviewScope | Specifies whether the document includes a preview, and, if so, whether the preview shows only the first page or all the |
| PrintPageOrientation | Determines whether the page is printed in portrait or landscape orientation. |
| PrintProps | Contains elements that control how the drawing page is formatted (appears) on the printer page. |
| PrintSaveOptions | Allows to specify additional options when printing diagram. |
| Prop | Contains elements for defining custom properties and elements for associating data with a shape. |
| PropCollection | Prop collection. |
| Protection | Locking helps prevent inadvertent changes to the shape but does not prevent Microsoft Visio from resetting values in oth |
| RadioButtonActiveXControl | Represents a RadioButton ActiveX control. |
| RelCubBezTo | Contains x- and y-coordinates for a RelCubBezTo’s points. |
| RelCubBezToCollection | RelCubBezTo collection. |
| RelEllipticalArcTo | Contains elements that specify information about an elliptical arc.Coordinates are specified as relative coordinates. |
| RelEllipticalArcToCollection | RelEllipticalArcTo collection. |
| RelLineTo | Contains x- and y-coordinates of the ending vertex of a straight line segment. These coordinates are contained in the X |
| RelLineToCollection | RelLineTo collection. |
| RelMoveTo | Contains the x- and y-coordinates of the first vertex of a shape, or contains the x- and y-coordinates of the first vert |
| RelMoveToCollection | RelMoveTo collection. |
| RelQuadBezTo | Contains x- and y-coordinates for a RelQuadBezTo’s points. |
| RelQuadBezToCollection | RelQuadBezTo collection. |
| RelationShape | Contains elements that define a shape and relationflag. |
| RelationShapeCollection | RelationShape collection. |
| RenderingSaveOptions | This is an abstract base class for classes that allow the user to specify additional options when saving a diagram into |
| ResizeMode | Specifies the current resize behavior setting for the shape when contained in a group. |
| Reviewer | Contains elements that contain identifying information about a document reviewer. |
| ReviewerCollection | Reviewer collection. |
| RotationType | Specifies the type of shadow for a shape. |
| RouteStyle | Specifies the routing style and direction for all dynamic connectors on the drawing page that don’t have a local routing |
| Row | Indicates a row in the data recordset. |
| RowCollection | Row collection. |
| Rule | Represents a single validation rule in a diagram validation rule set. |
| RuleCollection | Rule collection. |
| RuleInfo | Specifies information about the validation rule that the parent validation issue pertains to. |
| RuleSet | Represents one set of diagram validation rules. |
| RuleSetCollection | RuleSet collection. |
| RuleValue | Rule value. |
| RulerDensity | Specifies the horizontal subdivisions on the ruler for the page. |
| RulerGrid | Contains elements that specify the settings of the page’s rulers and grid. |
| SVGSaveOptions | Allows to specify additional options when rendering diagram pages to SVG. |
| SaveOptions | This is an abstract base class for classes that allow the user to specify additional options when saving a diagram into |
| Scratch | Contains a work area for entering and testing formulas that are referred to by other elements. This element is typically |
| ScratchCollection | Scratch collection. |
| ScrollBarActiveXControl | Represents the ScrollBar control. |
| SelectMode | Specifies how the user selects a group shape and its members. |
| Shape | Contains elements that define a shape in a Master, Page, or group shape element. |
| ShapeCollection | Collection of Shapes. |
| ShapeFixedCode | Specifies placement behavior for a placeable shape. |
| ShapePlaceFlip | Specifies how a placeable shape flips and/or rotates on the page when a user selects Lay Out Shapes (Shapes menu). |
| ShapePlaceStyle | Determines the placement style for children. |
| ShapePlowCode | Specifies whether a placeable shape moves away when you drag another placeable shape near the shape on the drawing page. |
| ShapeRouteStyle | Specifies the routing style and direction for a connector on the drawing page. |
| ShapeShdwShow | Specifies the type of shadow for a shape. |
| ShapeShdwType | Specifies the type of shadow for a shape. |
| ShdwType | Indicates the default shadow type for a page. |
| SmartTagDef | Contains elements that contain information for each smart tag defined for a shape or page. |
| SmartTagDefCollection | SmartTagDef collection. |
| SolutionXML | Contains solution-specific, well-formed XML data that is prefixed in an explicit namespace and is stored with a document |
| SolutionXMLCollection | SolutionXML collection. |
| SpinButtonActiveXControl | Represents the SpinButton control. |
| SplineKnot | Contains x- and y-coordinates for a spline’s control point and a spline’s knot, represented by the X, Y, and A elements, |
| SplineKnotCollection | SplineKnot collection. |
| SplineStart | Contains x- and y-coordinates for a spline’s second control point, its second knot, its first knot, the last knot, and t |
| SplineStartCollection | SplineStart collection. |
| Str2Value | String value. |
| StrValue | String value |
| Style | Specifies the character formatting applied to a range of text in the shape’s text block. |
| StyleProp | Contains elements that control style behavior, such as whether a style includes text, line, and fill attributes. |
| StyleSheet | Represents a style defined in a document. |
| StyleSheetCollection | Collection of StyleSheets. |
| Tab | Contains a collection of Tab elements. |
| TabCollection | Contains a collection of Tab elements |
| TabsCollection | Contains a collection of TabCollection elements |
| Text | Contains the text of a shape. |
| TextBlock | Contains elements that specify the alignment, margins, and default tab stop positions of text in a shape’s text block. |
| TextBoxActiveXControl | Represents a text box ActiveX control. |
| TextCollection | Contains the text of a shape. Each item is text with character, paragraph and tabs properties. |
| TextDirection | Specifies the direction of the characters in a text block. |
| TextXForm | Contains elements that specify positioning information about a shape’s text block. |
| ThreeDFormat | Represents a shape’s three-dimensional formatting. |
| TimeLineHelper | TimeLineHelper to set property of timeline shape. |
| ToggleButtonActiveXControl | Represents a ToggleButton ActiveX control. |
| Tp | Specifies the beginning of a tabs properties run. The run is defined to the end of the text or until the next |
| Txt | Text of the shape |
| TxtSaveOptions | Represents the save options for csv/other text format. |
| TypeConnection | Specifies various types, based on the element in which it is contained. |
| TypeField | Type specifies a data type for the text field value. |
| TypeProp | Type specifies a data type for the custom property value. |
| UIVisibility | Specifies the tab alignment. |
| UnitFormulaErr | Specifies attributes of an element. |
| UnitFormulaErrV | Specified attributes of an element. |
| UnknownControl | Unknow control. |
| User | Contains a work area for entering formulas in user-specific elements that are referred to by other elements and add-on t |
| UserCollection | User collection. |
| Validation | Stores information about diagram validation for the document. |
| ValidationProperties | Encapsulates properties related to validation for the document. |
| Value | Value. |
| VbaModule | Represents module that is contained in VBA project. |
| VbaModuleCollection | Represents the list of VbaModule |
| VbaProject | Represents the VBA project. |
| VbaProjectReference | Represents the refernece of VBA project. |
| VbaProjectReferenceCollection | Represents all references of VBA project. |
| VerticalAlign | Specifies the vertical alignment of text within the text block. |
| WalkPreference | Specifies whether an endpoint of a 1-D shape moves to a horizontal or vertical connection point on the shape it is glued |
| WarningInfo | Warning info |
| Window | Represents an open window in a Microsoft Visio instance. This element contains information necessary to exactly re-creat |
| WindowCollection | Window collection. |
| XAMLSaveOptions | Allows to specify additional options when rendering diagram pages to XAML. |
| XForm | Contains elements that control line attributes for a shape, such as pattern, weight, and color. These elements determine |
| XForm1D | Contains x- and y-coordinates of the begin point and end point of a 1-D shape. This element appears for 1-D shapes only. |
| XJustify | The x-offset of the smart tag button relative to the point defined by the X and Y elements. |
| XPSSaveOptions | Allows to specify additional options when rendering diagram pages to XPS. |
| YJustify | Specifies the y-offset of the smart tag button relative to the point defined by the X and Y elements. |