PreferredWidth

Overview

PreferredWidth is a class in Aspose.Words FOSS for Python. Inherits from: BaseModel.

Preferred width of a table / cell.

This class provides 3 methods for working with PreferredWidth objects in Python programs. Available methods include: auto, from_percent, from_points. All public members are accessible to any Python application after installing the Aspose.Words FOSS for Python package. Properties: is_auto, type, value.

Properties

NameTypeAccessDescription
is_autoboolReadGets the is auto.
typeintReadGets the type.
valuefloatReadGets the value.

Methods

SignatureDescription
auto()"PreferredWidth"Calls auto on this PreferredWidth instance.
from_percent(percent: float)"PreferredWidth"Calls from_percent(percent) on this PreferredWidth instance.
from_points(points: float)"PreferredWidth"Calls from_points(points) on this PreferredWidth instance.

See Also