Table of Contents

Class EditPage

Namespace
Alternet.Editor
Assembly
Alternet.Editor.v9.dll

Represents a particular page within Edit control content.

public class EditPage : IEditPage, IUpdate, IDisposable
Inheritance
EditPage
Implements

Constructors

EditPage(IEditPages, ISyntaxEdit)

Initializes a new instance of the EditPage with specified owner.

Properties

BottomIndent

Gets or sets page's bottom indentation.

BoundsRect

Represents a bounding area of the page within Edit control.

ClientRect

Represents a client(editing) area of the page within Edit control.

DisplayWidth

Returns displayed page width.

EndLine

Represents ending line of the page within Edit control content in display coordinates.

Footer

Represents IEditPageHeader specifying page footer.

Header

Represents IEditPageHeader specifying page header.

HorzOffset

Gets or sets a horizontal indentation between pages.

Index

Represents ordinal number of page within the Edit control pages collection.

IsFirstPage

Indicates whether this page is the first page within the Edit control pages collection.

IsLastPage

Indicates whether this page is the last page within the Edit control pages collection.

Landscape

Gets or sets boolean value that indicates the page orientation (landscape or portrait).

LeftIndent

Gets or sets page's left indentation.

Margins

Gets or sets margins specifying offsets of editing area of this EditPage.

NextPage

Represents a next EditPage within the Edit control pages collection.

Origin

Represents page's absolute screen coordinate of the page within Edit control.

PageKind

Gets or sets kind of the page specifying standard paper size.

PageRect

Gets page's rectangle.

PageSize

Gets or sets size (width and height) of this EditPage.

Pages

When implemented by a class, gets or sets pages collection that owns this page.

PaintNumber

Get or sets a boolean value that indicates whether control should paint it's number at the bottom of page.

PaintRect

Represents a bounding area excluding whitespace area of the page within Edit control.

PrevPage

Represents a previous EditPage within the Edit control pages collection.

RightIndent

Gets or sets page's right indentation.

StartLine

Represents starting line of the page within Edit control content in display coordinates.

TopIndent

Gets or sets page's top indentation.

UpdateCount

Keeps track of calls to BeginUpdate and EndUpdate so that they can be nested.

UsePrinterSettings

Get or sets a boolean value that indicates whether control should use printer settings for calculating page size, margin and orientation.

VertOffset

Gets or sets a vertical indentation between pages.

WhiteSpaceBottomRect

Represents a whitespace area of the page within Edit control.

WhiteSpaceTopRect

Represents a whitespace area of the page within Edit control.

Methods

Assign(IEditPage)

Copies the contents of another IEditPage object.

BeginUpdate()

Prevents page updating until calling EditPage.EndUpdate method.

DisableUpdate()

Prevents page updating until calling EditPage.EndUpdate method.

Dispose()

Disposes this EditPage and frees resources associated with it.

Dispose(bool)
EnableUpdate()

Re-enables page updating, that was turn of by calling EditPage.BeginUpdate method.

EndUpdate()

Re-enables page updating, that was turn of by calling EditPage.BeginUpdate method.

FillBoundsRect(IPainter, Rectangle, Rectangle, Color, bool)
~EditPage()

Destroys the instance of the EditPage class.

GetBounds(bool)

Retrieves a bounds of the EditPage.

Invalidate()

Invalidates the page.

OnBottomIndentChanged()
OnFooterChanged()
OnHeaderChanged()
OnHorzOffsetChanged()
OnIndexChanged()
OnLandscapeChanged()
OnLeftIndentChanged()
OnMarginsChanged()
OnOriginChanged()
OnPageKindChanged()
OnPageSizeChanged()
OnPagesChanged()
OnPaintNumberChanged()
OnRightIndentChanged()
OnTopIndentChanged()
OnUsePrinterSettingsChanged()
OnVertOffsetChanged()
Paint(IPainter)

Draws EditPage object on specified graphic surface.

PaintMargins(IPainter, Rectangle, Rectangle, Color)
ShouldSerializeHorzOffset()

Indicates whether the HorzOffset property should be persisted.

ShouldSerializeLandscape()

Indicates whether the Landscape property should be persisted.

ShouldSerializeMargins()

Indicates whether the Margins property should be persisted.

ShouldSerializePageKind()

Indicates whether the PageKind property should be persisted.

ShouldSerializePageSize()

Indicates whether the PageSize property should be persisted.

ShouldSerializeVertOffset()

Indicates whether the VertOffset property should be persisted.

Update()

Recalculates page bounds.

Update(bool)

Recalculates page bounds and content.

Update(int, int, Point)

When implemented by a class, updates IEditPage state in accordance with specified parameters.

UpdatePageSize(PaperKind)