Table of Contents

Interface IEditPages

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

Represents a collection of pages in the Edit control.

public interface IEditPages : IUpdate, IDisposable, IEnumerable<IEditPage>, IEnumerable
Extension Methods

Properties

ApplyRulerToAllPages

When implemented by a class, gets or sets a boolean value that indicates that changing of rulers indentation applies to all pages rather than to current page.

BackColor

When implemented by a class, gets or sets a background color of each page in the collection.

BorderColor

When implemented by a class, gets or sets a border color of each page in the collection.

Caps

When implemented by a class, gets size in pixels per logical inch of entire screen.

Count

When implemented by a class, represents a number of pages in the collection.

DefaultLandscape

When implemented by a class, represents default page landscape.

DefaultMargins

When implemented by a class, represents default page margins.

DefaultPage

When implemented by a class, gets or sets properties for default IEditPage object in the pages collection.

DefaultPageKind

When implemented by a class, represents default page kind.

DefaultPageSize

When implemented by a class, represents default page size.

DisplayWhiteSpace

When implemented by a class, gets or sets a boolean value that indicates whether Edit control should draw whitespace area between pages.

Height

When implemented by a class, represents total height of all pages in the collection.

HorzRuler

When implemented by a class, represents IEditRuler object used as a horizontal page ruler.

this[int]

When implemented by a class, provides an indexed access to individual IEditPage stored in the collection.

List

When implemented by a class, provides an indexed access to individual pages within IEditPages collection.

PageKind

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

PageType

When implemented by a class, gets or sets value specifying the way of viewing Edit control's content.

RulerBackColor

When implemented by a class, gets or sets background color of the pages rulers.

RulerIndentBackColor

When implemented by a class, gets or sets background color of the indentations parts of the pages rulers.

RulerOptions

When implemented by a class, gets or sets options of the pages rulers.

RulerUnits

When implemented by a class, gets or sets measurement units of the pages rulers.

Rulers

When implemented by a class, gets or sets the rulers displayed within Edit control.

Transparent

When implemented by a class, gets or sets a boolean value that indicates whether Edit control should draw background around the pages.

VertRuler

When implemented by a class, represents IEditRuler object used as a vertical page ruler.

Width

When implemented by a class, represents pages width.

Methods

Add()

When implemented by a class, adds a new IEditPage to the collection.

Assign(IEditPages)

When implemented by a class, assigns most relevant properties from another IEditPages object.

CancelDragging()

When implemented by a class, cancels dragging operation of the page ruler.

Clear()

When implemented by a class, removes all items from the pages collection.

DisplayRulers(bool)

When implemented by a class, displays rulers if needed. updateSizeSpecifies that ruler size need to be re-caclulated

GetPageAt(Point)

When implemented by a class, finds page at specified display position.

GetPageAt(int, int)

When implemented by a class, finds page at specified display position.

GetPageAtCursor()

When implemented by a class, finds page at caret position.

GetPageAtPoint(Point)

When implemented by a class, finds page at specified screen position.

GetPageAtPoint(int, int)

When implemented by a class, finds page at specified screen position.

GetPageIndexAt(Point)

When implemented by a class, finds page at specified display position.

GetPageIndexAt(int, int)

When implemented by a class, finds page at specified display position.

GetPageIndexAtCursor()

When implemented by a class, finds page at caret position.

GetPageIndexAtPoint(Point)

When implemented by a class, finds page at specified screen position.

GetPageIndexAtPoint(int, int)

When implemented by a class, finds page at specified screen position.

IndexOf(IEditPage)

When implemented by a class, returns index of page within page collection.

InitDefaultPageSettings(PageSettings)

When implemented by a class, initializes page settings with default values.

Invalidate(IEditPage)

When implemented by a class, invalidates specified page.

OnDrawHeader(ref string)

When implemented by a class, raises DrawHeader event.

Paint(IPainter, Rectangle)

When implemented by a class, draws pages collection on the graphic surface.

ResetBackColor()

When implemented by a class, resets BackColor to the default value.

ResetBorderColor()

When implemented by a class, resets BorderColor to the default value.

ResetDisplayWhiteSpace()

When implemented by a class, resets DisplayWhiteSpace to the default value.

ResetPageType()

When implemented by a class, resets PageType to the default value.

ResetRulerBackColor()

When implemented by a class, resets RulerBackColor to the default value.

ResetRulerIndentBackColor()

When implemented by a class, resets RulerIndentBackColor to the default value.

ResetRulerOptions()

When implemented by a class, resets RulerOptions to the default value.

ResetRulerUnits()

When implemented by a class, resets RulerUnits to the default value.

ResetRulers()

When implemented by a class, resets Rulers to the default value.

Update(IEditPage)

When implemented by a class, recalculates bounds of the specified page.

Update(IEditPage, bool)

When implemented by a class, recalculates bounds and updates content of specified page.

UpdatePages(int)

When implemented by a class, recalculates bounds and updates content of specified page.

Events

DrawHeader

When implemented by a class, occurs when header or footer part of each page is drawing.