API Reference

Struct

VisioShapeBounds

Namespace OfficeIMO.Visio
Assembly OfficeIMO.Visio
Base ValueType
Implements
IEquatable<VisioShapeBounds>
Modifiers sealed

Bounds of one or more Visio shapes in page coordinate units, expressed in inches.

Inheritance

  • ValueType
  • VisioShapeBounds

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public VisioShapeBounds(Double left, Double bottom, Double right, Double top) #

Initializes a new bounds value.

Parameters

left System.Double requiredposition: 0
Left edge.
bottom System.Double requiredposition: 1
Bottom edge.
right System.Double requiredposition: 2
Right edge.
top System.Double requiredposition: 3
Top edge.

Methods

Equals 2 overloads
public virtual Boolean Equals(VisioShapeBounds other) #
Returns: Boolean

Parameters

other OfficeIMO.Visio.VisioShapeBounds requiredposition: 0
public override Boolean Equals(Object obj) #
Returns: Boolean

Parameters

obj System.Object requiredposition: 0
public override Int32 GetHashCode() #
Returns: Int32
public override String ToString() #
Returns: String

Properties

public static VisioShapeBounds Empty { get; } #

Empty bounds.

public Double Left { get; } #

Left edge.

public Double Bottom { get; } #

Bottom edge.

public Double Right { get; } #

Right edge.

public Double Top { get; } #

Top edge.

public Double Width { get; } #

Width of the bounds.

public Double Height { get; } #

Height of the bounds.

public Double CenterX { get; } #

Horizontal center of the bounds.

public Double CenterY { get; } #

Vertical center of the bounds.

public Boolean IsEmpty { get; } #

Whether the bounds contain no shapes.