Gutenberg

Class PageWidthOptions

Information about the available width for layout

Inheritance
Implements
Declaration
public class PageWidthOptions : Object

Constructors

PageWidthOptions(PageWidthOptions)

Declaration
protected PageWidthOptions(PageWidthOptions original)
Parameters
Type Name Description

PageWidthOptions

original

PageWidthOptions(Int32, Double)

Information about the available width for layout

Declaration
public PageWidthOptions(int PageWidth = 80, double PrintableRatio = 1)
Parameters
Type Name Description

Int32

PageWidth

The total width of the page in characters

Double

PrintableRatio

The percentage of the total page width that can have printed (non-indentation) characters on it. Also known as the ribbon width.

Properties

EqualityContract

Declaration
protected virtual Type EqualityContract { get; }
Property Value
Type Description

Type

PageWidth

The total width of the page in characters

Declaration
public int PageWidth { get; set; }
Property Value
Type Description

Int32

PrintableRatio

The percentage of the total page width that can have printed (non-indentation) characters on it. Also known as the ribbon width.

Declaration
public double PrintableRatio { get; set; }
Property Value
Type Description

Double

Methods

<Clone>$()

Declaration
public virtual PageWidthOptions <Clone>$()
Returns
Type Description

PageWidthOptions

Deconstruct(out Int32, out Double)

Declaration
public void Deconstruct(out int PageWidth, out double PrintableRatio)
Parameters
Type Name Description

Int32

PageWidth

Double

PrintableRatio

Equals(PageWidthOptions)

Declaration
public virtual bool Equals(PageWidthOptions other)
Parameters
Type Name Description

PageWidthOptions

other

Returns
Type Description

Boolean

Equals(Object)

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description

Object

obj

Returns
Type Description

Boolean

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description

Int32

PrintMembers(StringBuilder)

Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type Name Description

StringBuilder

builder

Returns
Type Description

Boolean

ToString()

Declaration
public override string ToString()
Returns
Type Description

String

Operators

Equality(PageWidthOptions, PageWidthOptions)

Declaration
public static bool operator ==(PageWidthOptions left, PageWidthOptions right)
Parameters
Type Name Description

PageWidthOptions

left

PageWidthOptions

right

Returns
Type Description

Boolean

Inequality(PageWidthOptions, PageWidthOptions)

Declaration
public static bool operator !=(PageWidthOptions left, PageWidthOptions right)
Parameters
Type Name Description

PageWidthOptions

left

PageWidthOptions

right

Returns
Type Description

Boolean

Implements

System.IEquatable<T>