Expand Minimize

Shape Properties (Visio)

Office 2013

This object has the following properties:

Name

Description

Application

Returns the instance of Microsoft Visio that is associated with an object. Read-only.

AreaIU

Returns the area of a Shape object in internal units (square inches). Read-only.

CalloutsAssociated

Returns an array of Long values that represent the collection of identifiers for all of the callout shapes that are associated with the target shape by a callout relationship. Read-only.

CalloutTarget

Gets or sets the target shape that is associated with the callout shape by a callout relationship. Read/write.

CellExists

Determines whether a particular ShapeSheet cell exists in the scope of the search. Read-only.

CellExistsU

Determines whether a particular ShapeSheet cell exists in the scope of the search. Read-only.

Cells

Returns a Cell object that represents a ShapeSheet cell. Read-only.

CellsRowIndex

Returns the index of a row to which a cell belongs. Read-only.

CellsRowIndexU

Returns the index of a row to which a cell belongs. Read-only.

CellsSRC

Returns a Cell object that represents a ShapeSheet cell identified by section, row, and column indices. Read-only.

CellsSRCExists

Determines whether a ShapeSheet cell exists in the scope of a search. Read-only.

CellsU

Returns a Cell object that represents a ShapeSheet cell. Read-only.

Characters

Returns a Characters object that represents the text of a shape. Read-only.

CharCount

Returns the number of characters in an object. Read-only.

ClassID

Returns the class ID string of a shape that represents an ActiveX control or an embedded or linked OLE object. Read-only.

Comments

Returns a Comments object that represents the collection of all the reviewer comments on the shape. Read-only.

Connects

Returns a Connects collection for a shape, page, or master. Read-only.

ContainerProperties

Returns the ContainerProperties object associated with the shape. Read-only.

ContainingMaster

Returns the Master object that contains an object. Read-only.

ContainingMasterID

Returns the ID of the Master object that contains an object. Read-only.

ContainingPage

Returns the page that contains an object.

ContainingPageID

Returns the ID of the page that contains an object. Read-only.

ContainingShape

Returns the Shape object that contains an object or collection. Read-only.

Data1

Gets or sets the value of the Data1 field for a Shape object. Read/write.

Data2

Gets or sets the value of the Data2 field for a Shape object. Read/write.

Data3

Gets or sets the value of the Data3 field for a Shape object. Read/write.

DataGraphic

Gets or sets the data graphic master (Master of type visTypeDataGraphic) that is associated with the shape. Read/write.

DistanceFrom

Returns the distance from one shape to another, measured between the closest points on the two shapes. Both shapes must be on the same page or in the same master. Read-only.

DistanceFromPoint

Returns the distance from a shape to a point. Read-only.

Document

Gets the Document object that is associated with an object. Read-only.

EventList

Returns the EventList collection of an object or the EventList collection that contains an Event object. Read-only.

FillStyle

Returns or sets the fill style for an shape. Read/write.

FillStyleKeepFmt

Applies a fill style to an object while preserving local formatting. Read/write.

ForeignData

Returns metafile, bitmap, or OLE data for a shape that represents a foreign object. Read-only.

ForeignType

Returns the subtype of a Shape object that represents a foreign object. Read-only.

FromConnects

Returns a Connects collection of the shapes connected to a shape. Read-only.

GeometryCount

Returns the number of Geometry sections for a shape. Read-only.

Help

Gets or sets the Help string for a shape. Read/write.

Hyperlinks

Returns the Hyperlinks collection for a Shape object. Read-only.

ID

Gets the ID of an object. Read-only.

Index

Gets the ordinal position of a Shape object in the Shapes collection. Read-only.

IsCallout

Indicates whether the shape is a callout shape. Read-only.

IsDataGraphicCallout

Specifes whether a shape is a data graphic callout. Read-only.

IsOpenForTextEdit

Indicates whether a shape is currently open for interactive text editing. Read-only.

Language

Represents the language ID of the version of the Microsoft Visio instance represented by the parent object. Read/write.

Layer

Returns the layer to which a shape is assigned. Read-only.

LayerCount

Returns the number of layers to which a shape is assigned. Read-only.

LengthIU

Returns the length (perimeter) of the shape in internal units. Read-only.

LineStyle

Specifies the line style for an object. Read/write.

LineStyleKeepFmt

Applies a line style to an object while preserving local formatting. Read/write.

Master

Returns the master from which the Shape object was created. Read-only.

MasterShape

If this shape is part of a master instance, returns the shape in the master that this shape inherits from. Read-only.

MemberOfContainers

Returns an array of Long values that represent the identifiers of the container shapes that include the shape as a member. Read-only.

Name

Specifies the name of an object. Read-only.

NameID

Returns a unique name for a shape. Read-only.

NameU

Specifies the universal name of a Shape object. Read/write.

Object

Returns an IDispatch interface on the ActiveX control or embedded or linked OLE 2.0 object represented by a Shape object or an OLEObject object. Read-only.

ObjectIsInherited

Indicates if a shape represents an ActiveX or OLE object that is inherited from the shape's master. Read-only.

ObjectType

Returns an object's type. Read-only.

OneD

Determines whether an object behaves as a one-dimensional (1-D) object. Read-only.

Parent

Determines the parent of a Shape object. Read/write.

Paths

Returns a Paths collection that reports the coordinates of a shape's paths in the coordinate system of the shape's parent. Read-only.

PathsLocal

Returns a Paths collection that reports the coordinates of a shape's paths in the shape's local coordinate system. Read-only.

PersistsEvents

Indicates whether an object is capable of containing persistent events in its EventList collection. Read-only.

Picture

Returns a picture that represents an enhanced metafile (EMF) contained in a master, shape, selection, or page. Read-only.

ProgID

Returns the programmatic identifier of a shape that represents an ActiveX control, an embedded object, or linked object. Read-only.

RootShape

Returns the top-level shape of an instance if this shape is part of a master instance. Read-only.

RowCount

Returns the number of rows in a ShapeSheet section. Read-only.

RowExists

Determines whether a ShapeSheet row exists. Read-only.

RowsCellCount

Returns the number of cells in a row of a ShapeSheet section. Read-only.

RowType

Gets or sets the type of a row in a Geometry, Connection Points, Controls, or Tabs ShapeSheet section. Read/write.

Section

Returns the requested Section object belonging to a shape. Read-only.

SectionExists

Determines whether a ShapeSheet section exists for a particular shape. Read-only.

Shapes

Returns the Shapes collection for a page, master, or group. Read-only.

SpatialNeighbors

Returns a Selection object that represents the shapes that meet certain criteria in relation to a specified shape. Read-only.

SpatialRelation

Returns an integer that represents the spatial relationship of one shape to another shape. Both shapes must be on the same page or in the same master. Read-only.

SpatialSearch

Returns a Selection object whose shapes meet certain criteria in relation to a point that is expressed in the coordinate space of a page, master, or group. Read-only.

Stat

Returns status information for an object. Read-only.

Style

Gets or sets the style for a Shape object. Read/write.

StyleKeepFmt

Applies a style to an object while preserving local formatting. Read/write.

Text

Returns all of the shape's text. Read/write.

TextStyle

Gets or sets the text style for an object. Read/write.

TextStyleKeepFmt

Applies a text style to an object while preserving local formatting. Read/write.

Type

Returns the type of the object. Read-only.

UniqueID

Gets, deletes, or makes the GUID that uniquely identifies the shape within the scope of the application. Read-only.

Show:
© 2015 Microsoft