Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Struct

VisioShapeBounds

OfficeIMO.Visio

Namespace
OfficeIMO.Visio
Assembly
OfficeIMO.Visio
Source revision
273d35d5ba8a with working tree changes
Base
ValueType
Implements
IEquatable<VisioShapeBounds>
Modifiers
sealed

Physical bounds of one or more Visio shapes in page coordinates.

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(OfficeLength left, OfficeLength bottom, OfficeLength right, OfficeLength top) #

Initializes bounds from physical page coordinates.

Parameters

left OfficeIMO.OfficeLength required
bottom OfficeIMO.OfficeLength required
right OfficeIMO.OfficeLength required
top OfficeIMO.OfficeLength required

Methods

Equals 2 overloads
public bool Equals(VisioShapeBounds other) #

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

Parameters

other OfficeIMO.Visio.VisioShapeBounds required
An object to compare with this object.

Returns

bool true if the current object is equal to the other parameter; otherwise, false.
public override bool Equals(object? obj) #

Indicates whether this instance and a specified object are equal.

Parameters

obj object? required
The object to compare with the current instance.

Returns

bool true if obj and this instance are the same type and represent the same value; otherwise, false.
public override int GetHashCode() #

Returns the hash code for this instance.

Returns

int A 32-bit signed integer that is the hash code for this instance.
public override string ToString() #

Returns the fully qualified type name of this instance.

Returns

string The fully qualified type name.

Properties

public static VisioShapeBounds Empty { get; } #

Empty bounds.

public OfficeLength Left { get; } #

Gets the physical left edge.

public OfficeLength Bottom { get; } #

Gets the physical bottom edge.

public OfficeLength Right { get; } #

Gets the physical right edge.

public OfficeLength Top { get; } #

Gets the physical top edge.

public OfficeLength Width { get; } #

Gets the physical width.

public OfficeLength Height { get; } #

Gets the physical height.

public OfficeLength CenterX { get; } #

Gets the horizontal center.

public OfficeLength CenterY { get; } #

Gets the vertical center.

public bool IsEmpty { get; } #

Whether the bounds contain no shapes.