Click or drag to resize

PreferredWidth FromPercent Method

Creates a PreferredWidth instance from a percentage value.

Namespace: Spire.Doc
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public static PreferredWidth FromPercent(
	double percent
)

Parameters

percent
Type: System Double
The percentage value representing the preferred width, which must be between 0 and MaxPercent.

Return Value

Type: PreferredWidth
A PreferredWidth instance set to the specified percentage.
See Also