PreferredWidth module

class PreferredWidth.PreferredWidth

Bases: SpireObject

An PreferredWidth class that specifies the preferred total width of the table of which this row is a part.

Equals(obj: SpireObject) bool

Determines whether the specified object is equal to the current object.

Parameters:

obj – A SpireObject to compare with the current object.

Returns:

True if the specified object is equal to the current object; otherwise, False.

GetHashCode() int

Serves as the default hash function.

Returns:

An integer hash code for the current object.

property Type: WidthType

Gets the enum element from WidthType that specifies the units of measurement for the value.

Returns:

A WidthType enum element that specifies the units of measurement for the value.

property Value: float

Gets the double value that specifies the preferred width.

Returns:

A float value that specifies the preferred width.

static get_Auto() PreferredWidth

Gets an instance of PreferredWidth that indicates the preferred width is auto.

Returns:

An instance of PreferredWidth that indicates the preferred width is auto.

static get_None() PreferredWidth

Gets an instance of PreferredWidth that indicates the preferred width is not specified.

Returns:

An instance of PreferredWidth that indicates the preferred width is not specified.