SectionPageSetup Struct
Definition
Page geometry declared by a Avalonia.Controls.Documents.Section. Value type for zero-reference safety; carried on the section's snapshot node, not in Avalonia.Controls.Documents.TextModel.Formatting.BlockFormatting.
public struct SectionPageSetup
Remarks
Null members mean "not declared" and inherit the document-level page setup. A section that declares any member starts on a new page in paginated output and spans pages with this geometry; a section that declares none is a plain grouping container with no page semantics.
Methods
| Name | Description |
|---|---|
| Equals (2 overloads) | No summary available. |
| GetHashCode | No summary available. |
| ToString | No summary available. |
Equals overloads
Equals Method
public bool Equals(Avalonia.Controls.Documents.TextModel.Formatting.SectionPageSetup other)
Parameters
other Avalonia.Controls.Documents.TextModel.Formatting.SectionPageSetup
Returns
bool
Equals Method
public bool Equals(object obj)
Parameters
obj object
Returns
bool
GetHashCode Method
public int GetHashCode()
Returns
int
ToString Method
public string ToString()
Returns
string
Properties
| Name | Description |
|---|---|
| Default | Setup with no declared values. |
| IsEmpty | Gets whether no geometry member is declared - the section carries no page semantics. |
| PageHeight | The page height in device-independent pixels for pages this section spans. Null inherits the document's page height. |
| PagePadding | The page margins (distance from the paper edge to the content area) for pages this section spans. Null inherits the document's page padding. |
| PageWidth | The page width in device-independent pixels for pages this section spans. Null inherits the document's page width. |
Default Property
Setup with no declared values.
public Avalonia.Controls.Documents.TextModel.Formatting.SectionPageSetup Default { get; set; }
IsEmpty Property
Gets whether no geometry member is declared - the section carries no page semantics.
public bool IsEmpty { get; set; }
PageHeight Property
The page height in device-independent pixels for pages this section spans. Null inherits the document's page height.
public Nullable<double> PageHeight { get; set; }
PagePadding Property
The page margins (distance from the paper edge to the content area) for pages this section spans. Null inherits the document's page padding.
public Nullable<Avalonia.Thickness> PagePadding { get; set; }
PageWidth Property
The page width in device-independent pixels for pages this section spans. Null inherits the document's page width.
public Nullable<double> PageWidth { get; set; }