New Objects, Collections, and Enumerations (Visio)
New Objects and Collections
The following objects and collections have been added to the object model in Microsoft Visio 2010.
Object or Collection |
Description |
---|---|
Represents the set of properties that are specific to a container. |
|
Holds information about a selection that is moved from one location, such as a page or a document, to another. |
|
Holds information about the shapes that are involved in a container relationship or a callout relationship. |
|
Represents the settings to apply when you save a Web Drawing (as a .vdw file) to use on a Microsoft SharePoint site in conjunction with Visio Services. |
|
Stores information about diagram validation for the document. |
|
Represents a single validation issue in the ValidationIssues collection of a document. |
|
Includes a ValidationIssue object for each validation issue in the document. |
|
Represents a single validation rule in a diagram validation rule set. |
|
Includes a ValidationRule object for each validation rule in the rule set. |
|
Represents one set of diagram validation rules. |
|
Includes a ValidationRuleSet object for each validation rule set in the document. |
New Enumerations
The following enumerations have been added to the object model in Microsoft Visio 2010.
Enumerations |
Description |
---|---|
Specifies constants that identify the available stencils; passed to the GetBuiltInStencilFile and GetCustomStencilFile methods. |
|
Specifies constants that define the different ways to center the view; passed to the Windows.CenterViewOnShape method. |
|
Specifies constants that identify shapes by the directionality of their connectors; passed to the Shape.ConnectedShapes method. |
|
Specifies constants that define the end points of a connector; passed to the Shape.Disconnect method. |
|
Specifies constants that define the different ways that the container boundary can resize automatically to fit its contents; passed to and returned by the ContainerProperties.ResizeAsNeeded property. |
|
Specifies which container member shape IDs to return; constants passed to the ContainerProperties.GetMemberShapes method. |
|
Specifies constants that determine the container format to change; passed to the Selection.SetContainerFormat method. |
|
Specifies constants that denote the state of the input member shape with respect to the container; returned by the ContainerProperties.GetMemberState method. |
|
Specifies whether to include or exclude shapes from nested containers; constants passed to the Page.GetContainers and Selection.GetContainers methods. |
|
Specifies whether member shapes are arranged in a list; value returned by the ContainerProperties.ContainerType property. |
|
Specifies constants that define particular sets of instruction to apply to a deletion; passed to the Selection.DeleteEx and Shape.DeleteEx methods. |
|
Specifies constants that represent diagram services. These constants are passed to and returned by the Document.DiagramServicesEnabled property. |
|
Specifies constants that represent the installed edition of Microsoft Visio. |
|
Specifies constants that identify which shapes to return, based on the dimensionality and directionality of the connection points that are glued to a particular shape; passed to the Shapes.GluedShapes method. |
|
Specifies the language of the page name as local or universal; passed to the various members of the ServerPublishOptions object. |
|
Specifies constants that define the layout directions for a diagram; passed to the ContainerProperties.RotateFlipList method. |
|
Specifies constants that define the different ways to incrementally align a shape horizontally; passed to the Page.LayoutIncremental and Selection.LayoutIncremental methods. |
|
Specifies constants that define types of incremental layout; passed to the Page.LayoutIncremental and Selection.LayoutIncremental methods. |
|
Specifies constants that define the different ways to incrementally align a shape vertically; passed to the Page.LayoutIncremental and Selection.LayoutIncremental methods. |
|
Specifies contants that define whether to populate the legend; passed to the DropLegend method. |
|
Specifies constants that define different ways to align shapes; passed to and returned by the ContainerProperties.ListAlignment property. |
|
Specifies constants that identify the list direction; passed to and returned by the ContainerProperties.ListDirection property. |
|
Specifies whether to expand the container to accomodate the new member(s) or to resize it automatically according to the default settings; constants passed to the ContainerProperties.AddMember method. |
|
Specifies constants that define which data recordsets to publish; passed to the ServerPublishOptions.SetRecordsetsToPublish method and returned by the ServerPublishOptions.GetRecordsetsToPublish method. |
|
Specifies constants that define which pages to publish; passed to the ServerPublishOptions.SetPagesToPublish method and returned by the ServerPublishOptions.GetPagesToPublish method. |
|
Specifies constants that define the raster export color formats; passed to and returned by the ApplicationSettings.RasterExportColorFormat property. |
|
Specifies constants that define the types of raster export color reduction; passed to and returned by the ApplicationSettings.RasterExportColorReduction property. |
|
Specifies constants that identify the types of raster export data compression; passed to and returned by the ApplicationSettings.RasterExportDataCompression property. |
|
Specifies constants that identify which raster export data format algorithm to use; passed to and returned by the ApplicationSettings.RasterExportDataFormat property. |
|
Specifies constants that define how to apply the raster export flip; passed to and returned by the ApplicationSettings.RasterExportFlip property. |
|
Specifies constants that identify the varieties of raster export operations; passed to and returned by the ApplicationSettings.RasterExportOperation property. |
|
Specifies constants that define which type of raster export resolution to use; passed to the SetRasterExportResolution method and returned by the GetRasterExportResolution method. |
|
Specifies constants that define the raster export resolution units; passed to the SetRasterExportResolution method and returned by the GetRasterExportResolution method. |
|
Specifies constants that define how to apply the raster export rotation; passed to and returned by the ApplicationSettings.RasterExportRotation property. |
|
Specifies constants that define which raster export size to use; passed to the SetRasterExportSize method and returned by the GetRasterExportSize method. |
|
Specifies constants that define the raster export size units; passed to the SetRasterExportSize method and returned by the GetRasterExportSize method. |
|
Specifies the resize directions that correspond to the shape handles to move; passed to the Shape.Resize and Selection.Resize methods. |
|
Specifies constants that identify the various modes in which to display the custom UI; constant passed to the RegisterRibbonX method. |
|
Specifies selections that contain all shapes of a given role; passed to the Master.CreateSelection, Page.CreateSelection, and Shape.CreateSelection methods. |
|
Specifies constants that define special rule-set behaviors; passed to and returned by the ValidationRuleSet.RuleSetFlags property. |
|
Specifies contants that define the target of the validation rule; passed to and returned by the ValidationRule.TargetType property. |
|
Specifies constants that define special validation behaviors; passed to the Validation.Validate method. |