VisioShapeFluent
OfficeIMO.Visio
The fluent methods of VisioShape, generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.
Inheritance
- object
- VisioShapeFluent
Methods
public static TSelf AllowHorizontalConnectorRoutingThrough<TSelf>(TSelf visioShape, bool? value = true) #Sets VisioShape.AllowHorizontalConnectorRoutingThrough: Gets or sets whether connectors may route horizontally through this shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value bool? = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.AllowHorizontalConnectorRoutingThrough = value; visioShape.AllowHorizontalConnectorRoutingThrough(value);public static TSelf AllowPlacementOnTop<TSelf>(TSelf visioShape, bool? value = true) #Sets VisioShape.AllowPlacementOnTop: Gets or sets whether other placeable shapes may be placed on top of this shape during layout.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value bool? = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.AllowPlacementOnTop = value; visioShape.AllowPlacementOnTop(value);public static TSelf AllowVerticalConnectorRoutingThrough<TSelf>(TSelf visioShape, bool? value = true) #Sets VisioShape.AllowVerticalConnectorRoutingThrough: Gets or sets whether connectors may route vertically through this shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value bool? = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.AllowVerticalConnectorRoutingThrough = value; visioShape.AllowVerticalConnectorRoutingThrough(value);public static TSelf Angle<TSelf>(TSelf visioShape, double value) #Sets VisioShape.Angle: Gets or sets the rotation angle of the shape in radians.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value double
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.Angle = value; visioShape.Angle(value);public static TSelf Baseline<TSelf>(TSelf visioShape, OfficeTextBaseline baseline) #Sets the native baseline placement for the whole-shape text.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- baseline OfficeIMO.Drawing.OfficeTextBaseline
- The value.
Returns
TSelf The same instance.public static TSelf Bold<TSelf>(TSelf visioShape, bool enabled = true) #Sets whether the whole-shape text is bold.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- enabled bool = true
- The value.
Returns
TSelf The same instance.public static TSelf CanBeSplit<TSelf>(TSelf visioShape, bool? value = true) #Sets VisioShape.CanBeSplit: Gets or sets whether this shape can be split by another shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value bool? = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.CanBeSplit = value; visioShape.CanBeSplit(value);public static TSelf CanSplitShapes<TSelf>(TSelf visioShape, bool? value = true) #Sets VisioShape.CanSplitShapes: Gets or sets whether this shape may split other splittable shapes.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value bool? = true
- The value; true when omitted.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.CanSplitShapes = value; visioShape.CanSplitShapes(value);public static TSelf Capitalization<TSelf>(TSelf visioShape, VisioTextCapitalization capitalization) #Sets Visio's native display-time capitalization for the whole-shape text.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- capitalization OfficeIMO.Visio.VisioTextCapitalization
- The value.
Returns
TSelf The same instance.public static TSelf Children<TSelf>(TSelf visioShape, IEnumerable<VisioShape> items) #Adds items to VisioShape.Children: Child shapes when this shape represents a group.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- items System.Collections.Generic.IEnumerable<OfficeIMO.Visio.VisioShape>
- The items, in order.
Returns
TSelf The same instance.public static TSelf Child<TSelf>(TSelf visioShape, VisioShape item) #Adds an item to VisioShape.Children: Child shapes when this shape represents a group.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- item OfficeIMO.Visio.VisioShape
- The item.
Returns
TSelf The same instance.public static TSelf ConnectionPoints<TSelf>(TSelf visioShape, IEnumerable<VisioConnectionPoint> items) #Adds items to VisioShape.ConnectionPoints: Connection points associated with the shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- items System.Collections.Generic.IEnumerable<OfficeIMO.Visio.VisioConnectionPoint>
- The items, in order.
Returns
TSelf The same instance.public static TSelf ConnectionPoint<TSelf>(TSelf visioShape, VisioConnectionPoint item) #Adds an item to VisioShape.ConnectionPoints: Connection points associated with the shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- item OfficeIMO.Visio.VisioConnectionPoint
- The item.
Returns
TSelf The same instance.public static TSelf ConnectorPermeability<TSelf>(TSelf visioShape, bool horizontal = true, bool vertical = true) #Allows or disallows connector routing through this shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- horizontal bool = true
- The value.
- vertical bool = true
- The value.
Returns
TSelf The same instance.public static TSelf ContainerMemberIds<TSelf>(TSelf visioShape, IEnumerable<string> items) #Adds items to VisioShape.ContainerMemberIds: Shape identifiers this shape contains when it is used as a container.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
Returns
TSelf The same instance.public static TSelf ContainerMemberId<TSelf>(TSelf visioShape, string item) #Adds an item to VisioShape.ContainerMemberIds: Shape identifiers this shape contains when it is used as a container.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- item string
- The item.
Returns
TSelf The same instance.public static TSelf ContainerOwnerIds<TSelf>(TSelf visioShape, IEnumerable<string> items) #Adds items to VisioShape.ContainerOwnerIds: Container shape identifiers this shape belongs to.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
Returns
TSelf The same instance.public static TSelf ContainerOwnerId<TSelf>(TSelf visioShape, string item) #Adds an item to VisioShape.ContainerOwnerIds: Container shape identifiers this shape belongs to.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- item string
- The item.
Returns
TSelf The same instance.public static TSelf FillColor<TSelf>(TSelf visioShape, OfficeColor value) #Sets VisioShape.FillColor: Fill color of the shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.OfficeColor
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.FillColor = value; visioShape.FillColor(value);public static TSelf FillPattern<TSelf>(TSelf visioShape, int value) #Sets VisioShape.FillPattern: Fill pattern (0=None, 1=Solid, etc.).
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value int
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.FillPattern = value; visioShape.FillPattern(value);public static TSelf Fill<TSelf>(TSelf visioShape, OfficeColor color, int pattern = 1) #Sets fill color and optional pattern.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- color OfficeIMO.OfficeColor
- Fill color.
- pattern int = 1
- Fill pattern index (default 1=Solid).
Returns
TSelf The same instance.public static TSelf FontFamily<TSelf>(TSelf visioShape, string fontFamily) #Sets the whole-shape text font family.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- fontFamily string
- The value.
Returns
TSelf The same instance.public static TSelf FontSize<TSelf>(TSelf visioShape, double size) #Sets the whole-shape text size in points.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- size double
- The value.
Returns
TSelf The same instance.public static TSelf Height<TSelf>(TSelf visioShape, OfficeLength value) #Sets VisioShape.Height: Gets or sets the physical Height.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.Height = value; visioShape.Height(value);public static TSelf Hyperlinks<TSelf>(TSelf visioShape, IEnumerable<VisioHyperlink> items) #Adds items to VisioShape.Hyperlinks: Hyperlinks attached to this shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- items System.Collections.Generic.IEnumerable<OfficeIMO.Visio.VisioHyperlink>
- The items, in order.
Returns
TSelf The same instance.public static TSelf Hyperlink<TSelf>(TSelf visioShape, VisioHyperlink item) #Adds an item to VisioShape.Hyperlinks: Hyperlinks attached to this shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- item OfficeIMO.Visio.VisioHyperlink
- The item.
Returns
TSelf The same instance.public static TSelf Italic<TSelf>(TSelf visioShape, bool enabled = true) #Sets whether the whole-shape text is italic.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- enabled bool = true
- The value.
Returns
TSelf The same instance.public static TSelf LayerNames<TSelf>(TSelf visioShape, IEnumerable<string> items) #Adds items to VisioShape.LayerNames: Page layer names this shape belongs to.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- items System.Collections.Generic.IEnumerable<string>
- The items, in order.
Returns
TSelf The same instance.public static TSelf LayerName<TSelf>(TSelf visioShape, string item) #Adds an item to VisioShape.LayerNames: Page layer names this shape belongs to.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- item string
- The item.
Returns
TSelf The same instance.public static TSelf LineColor<TSelf>(TSelf visioShape, OfficeColor value) #Sets VisioShape.LineColor: Line (border) color of the shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.OfficeColor
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.LineColor = value; visioShape.LineColor(value);public static TSelf LinePattern<TSelf>(TSelf visioShape, int value) #Sets VisioShape.LinePattern: Line pattern (0=None, 1=Solid, 2=Dashed, etc.).
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value int
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.LinePattern = value; visioShape.LinePattern(value);public static TSelf LineWeight<TSelf>(TSelf visioShape, double value) #Sets VisioShape.LineWeight: Gets or sets the line weight of the shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value double
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.LineWeight = value; visioShape.LineWeight(value);public static TSelf LocPinX<TSelf>(TSelf visioShape, OfficeLength value) #Sets VisioShape.LocPinX: Gets or sets the physical LocPinX.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.LocPinX = value; visioShape.LocPinX(value);public static TSelf LocPinY<TSelf>(TSelf visioShape, OfficeLength value) #Sets VisioShape.LocPinY: Gets or sets the physical LocPinY.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.LocPinY = value; visioShape.LocPinY(value);public static TSelf MasterShape<TSelf>(TSelf visioShape, Action<VisioShape> configure) #Configures VisioShape.MasterShape in place: Gets the master shape instance referenced by VisioShape.MasterShapeId, if any.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- configure System.Action<OfficeIMO.Visio.VisioShape>
- Configures the value.
Returns
TSelf The same instance.public static TSelf Master<TSelf>(TSelf visioShape, VisioMaster? value) #Sets VisioShape.Master: Gets or sets the master associated with the shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.Visio.VisioMaster?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.Master = value; visioShape.Master(value);public static TSelf NameU<TSelf>(TSelf visioShape, string? value) #Sets VisioShape.NameU: Gets or sets the universal name of the shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.NameU = value; visioShape.NameU(value);public static TSelf Name<TSelf>(TSelf visioShape, string? value) #Sets VisioShape.Name: Gets or sets the shape name.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value string?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.Name = value; visioShape.Name(value);public static TSelf Parent<TSelf>(TSelf visioShape, Action<VisioShape> configure) #Configures VisioShape.Parent in place: Parent shape when part of a group hierarchy.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- configure System.Action<OfficeIMO.Visio.VisioShape>
- Configures the value.
Returns
TSelf The same instance.public static TSelf PinX<TSelf>(TSelf visioShape, OfficeLength value) #Sets VisioShape.PinX: Gets or sets the physical PinX.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.PinX = value; visioShape.PinX(value);public static TSelf PinY<TSelf>(TSelf visioShape, OfficeLength value) #Sets VisioShape.PinY: Gets or sets the physical PinY.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.PinY = value; visioShape.PinY(value);public static TSelf PlacementFlip<TSelf>(TSelf visioShape, VisioPlacementFlip flip) #Sets the shape-level Visio placement flip behavior.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- flip OfficeIMO.Visio.VisioPlacementFlip
- The value.
Returns
TSelf The same instance.public static TSelf PlacementFlip<TSelf>(TSelf visioShape, VisioPlacementFlip? value) #Sets VisioShape.PlacementFlip: Gets or sets how Visio may flip or rotate this shape during page layout.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.Visio.VisioPlacementFlip?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.PlacementFlip = value; visioShape.PlacementFlip(value);public static TSelf PlacementOnTop<TSelf>(TSelf visioShape, bool allowed = true) #Allows or disallows placing other shapes on top of this shape during layout.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- allowed bool = true
- The value.
Returns
TSelf The same instance.public static TSelf PlacementStyle<TSelf>(TSelf visioShape, VisioPlacementStyle style) #Sets the shape-level Visio placement style.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- style OfficeIMO.Visio.VisioPlacementStyle
- The value.
Returns
TSelf The same instance.public static TSelf PlacementStyle<TSelf>(TSelf visioShape, VisioPlacementStyle? value) #Sets VisioShape.PlacementStyle: Gets or sets the shape-level placement style Visio uses during page layout.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.Visio.VisioPlacementStyle?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.PlacementStyle = value; visioShape.PlacementStyle(value);public static TSelf PlowCode<TSelf>(TSelf visioShape, VisioShapePlowCode? value) #Sets VisioShape.PlowCode: Gets or sets whether this shape moves away when another placeable shape is dropped nearby.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.Visio.VisioShapePlowCode?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.PlowCode = value; visioShape.PlowCode(value);public static TSelf Plow<TSelf>(TSelf visioShape, VisioShapePlowCode code) #Sets the shape-level Visio plow behavior.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- code OfficeIMO.Visio.VisioShapePlowCode
- The value.
Returns
TSelf The same instance.public static TSelf Protection<TSelf>(TSelf visioShape, Action<VisioShapeProtection> configure) #Configures VisioShape.Protection in place: Visio ShapeSheet protection cells controlling interactive editing in Visio.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- configure System.Action<OfficeIMO.Visio.VisioShapeProtection>
- Configures the value.
Returns
TSelf The same instance.public static TSelf ShapeData<TSelf>(TSelf visioShape, VisioShapeDataRow item) #Adds an item to VisioShape.ShapeData: Visio Shape Data rows attached to this shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- item OfficeIMO.Visio.VisioShapeDataRow
- The item.
Returns
TSelf The same instance.public static TSelf ShapeData<TSelf>(TSelf visioShape, IEnumerable<VisioShapeDataRow> items) #Adds items to VisioShape.ShapeData: Visio Shape Data rows attached to this shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- items System.Collections.Generic.IEnumerable<OfficeIMO.Visio.VisioShapeDataRow>
- The items, in order.
Returns
TSelf The same instance.public static TSelf ShapeSheetSection<TSelf>(TSelf visioShape, VisioShapeSheetSection section) #Sets a typed ShapeSheet section without disturbing other preserved sections.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- section OfficeIMO.Visio.VisioShapeSheetSection
- Section to write.
Returns
TSelf The same instance.public static TSelf ShapeSplitting<TSelf>(TSelf visioShape, bool canSplit = true, bool canBeSplit = true) #Allows or disallows this shape splitting other shapes.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- canSplit bool = true
- The value.
- canBeSplit bool = true
- The value.
Returns
TSelf The same instance.public static TSelf SmallCaps<TSelf>(TSelf visioShape, bool enabled = true) #Enables or disables Visio's native small-capital style.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- enabled bool = true
- The value.
Returns
TSelf The same instance.public static TSelf Strikethrough<TSelf>(TSelf visioShape, OfficeTextDecorationStyle style = Single) #Sets the native strikethrough variant for the whole-shape text.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- style OfficeIMO.Drawing.OfficeTextDecorationStyle = Single
- The value.
Returns
TSelf The same instance.public static TSelf Stroke<TSelf>(TSelf visioShape, OfficeColor color, double weight = 0.0138889, int pattern = 1) #Sets stroke color, weight (inches), and optional pattern.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- color OfficeIMO.OfficeColor
- Line color.
- weight double = 0.0138889
- Line weight in inches.
- pattern int = 1
- Line pattern index (default 1=Solid).
Returns
TSelf The same instance.public static TSelf TextAlignment<TSelf>(TSelf visioShape, OfficeAlignment horizontal, VisioTextVerticalAlignment? vertical = null) #Sets whole-shape text alignment.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- horizontal OfficeIMO.OfficeAlignment
- The value.
- vertical OfficeIMO.Visio.VisioTextVerticalAlignment? = null
- The value.
Returns
TSelf The same instance.public static TSelf TextColor<TSelf>(TSelf visioShape, OfficeColor color) #Sets the whole-shape text color.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- color OfficeIMO.OfficeColor
- The value.
Returns
TSelf The same instance.public static TSelf TextStyle<TSelf>(TSelf visioShape, VisioTextStyle? value) #Sets VisioShape.TextStyle: Gets or sets whole-shape text formatting.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.Visio.VisioTextStyle?
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.TextStyle = value; visioShape.TextStyle(value);public static TSelf TextStyle<TSelf>(TSelf visioShape, Action<VisioTextStyle> configure) #Configures VisioShape.TextStyle in place (creating it when not set): Gets or sets whole-shape text formatting.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- configure System.Action<OfficeIMO.Visio.VisioTextStyle>
- Configures the value.
Returns
TSelf The same instance.public static TSelf Text<TSelf>(TSelf visioShape, string text) #Sets shape text.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- text string
- Text content.
Returns
TSelf The same instance.public static TSelf Underline<TSelf>(TSelf visioShape, OfficeTextDecorationStyle style = Single) #Sets the native underline variant for the whole-shape text.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- style OfficeIMO.Drawing.OfficeTextDecorationStyle = Single
- The value.
Returns
TSelf The same instance.public static TSelf UserCells<TSelf>(TSelf visioShape, IEnumerable<VisioUserCell> items) #Adds items to VisioShape.UserCells: User-defined ShapeSheet cells attached to this shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- items System.Collections.Generic.IEnumerable<OfficeIMO.Visio.VisioUserCell>
- The items, in order.
Returns
TSelf The same instance.public static TSelf UserCell<TSelf>(TSelf visioShape, VisioUserCell item) #Adds an item to VisioShape.UserCells: User-defined ShapeSheet cells attached to this shape.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- item OfficeIMO.Visio.VisioUserCell
- The item.
Returns
TSelf The same instance.public static TSelf Width<TSelf>(TSelf visioShape, OfficeLength value) #Sets VisioShape.Width: Gets or sets the physical Width.
Type Parameters
- TSelf
Parameters
- visioShape TSelf
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Returns
TSelf The same instance.Examples
// C# initializer or property // C# fluent
visioShape.Width = value; visioShape.Width(value);