Class PageWidthOptions
Information about the available width for layout
Inheritance
- Object
- PageWidthOptions
Implements
Declaration
public class PageWidthOptions : Object
Constructors
PageWidthOptions(PageWidthOptions)
Declaration
protected PageWidthOptions(PageWidthOptions original)
Parameters
Type | Name | Description |
---|---|---|
original |
PageWidthOptions(Int32, Double)
Information about the available width for layout
Declaration
public PageWidthOptions(int PageWidth = 80, double PrintableRatio = 1)
Parameters
Type | Name | Description |
---|---|---|
PageWidth |
The total width of the page in characters |
|
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 |
---|---|
PageWidth
The total width of the page in characters
Declaration
public int PageWidth { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
Methods
<Clone>$()
Declaration
public virtual PageWidthOptions <Clone>$()
Returns
Type | Description |
---|---|
Deconstruct(out Int32, out Double)
Declaration
public void Deconstruct(out int PageWidth, out double PrintableRatio)
Parameters
Type | Name | Description |
---|---|---|
PageWidth |
||
PrintableRatio |
Equals(PageWidthOptions)
Declaration
public virtual bool Equals(PageWidthOptions other)
Parameters
Type | Name | Description |
---|---|---|
other |
Returns
Type | Description |
---|---|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
obj |
Returns
Type | Description |
---|---|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
PrintMembers(StringBuilder)
Declaration
protected virtual bool PrintMembers(StringBuilder builder)
Parameters
Type | Name | Description |
---|---|---|
builder |
Returns
Type | Description |
---|---|
ToString()
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
Operators
Equality(PageWidthOptions, PageWidthOptions)
Declaration
public static bool operator ==(PageWidthOptions left, PageWidthOptions right)
Parameters
Type | Name | Description |
---|---|---|
left |
||
right |
Returns
Type | Description |
---|---|
Inequality(PageWidthOptions, PageWidthOptions)
Declaration
public static bool operator !=(PageWidthOptions left, PageWidthOptions right)
Parameters
Type | Name | Description |
---|---|---|
left |
||
right |
Returns
Type | Description |
---|---|