Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

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

Explore 25 API references to this type

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

Accepted by parameters 11

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 Boolean Equals(VisioShapeBounds other) #
Returns: Boolean

Indicates whether the current object is equal to another object of the same type.

Parameters

other OfficeIMO.Visio.VisioShapeBounds requiredposition: 0
An object to compare with this object.

Returns

true if the current object is equal to the other parameter; otherwise, false.

public override Boolean Equals(Object? obj) #
Returns: Boolean

Indicates whether this instance and a specified object are equal.

Parameters

obj System.Object? requiredposition: 0
The object to compare with the current instance.

Returns

true if obj and this instance are the same type and represent the same value; otherwise, false.

public override Int32 GetHashCode() #
Returns: Int32

Returns the hash code for this instance.

Returns

A 32-bit signed integer that is the hash code for this instance.

public override String ToString() #
Returns: String

Returns the fully qualified type name of this instance.

Returns

The fully qualified type name.

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.