Class EditPage
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
EditPagewith 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
IEditPageHeaderspecifying page footer.
- Header
Represents
IEditPageHeaderspecifying 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
EditPagewithin 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
EditPagewithin 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
BeginUpdateandEndUpdateso 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
IEditPageobject.
- BeginUpdate()
Prevents page updating until calling
EditPage.EndUpdatemethod.
- DisableUpdate()
Prevents page updating until calling
EditPage.EndUpdatemethod.
- Dispose()
Disposes this
EditPageand frees resources associated with it.
- EnableUpdate()
Re-enables page updating, that was turn of by calling
EditPage.BeginUpdatemethod.
- EndUpdate()
Re-enables page updating, that was turn of by calling
EditPage.BeginUpdatemethod.
- ~EditPage()
Destroys the instance of the
EditPageclass.
- GetBounds(bool)
Retrieves a bounds of the
EditPage.
- Invalidate()
Invalidates the page.
- Paint(IPainter)
Draws
EditPageobject on specified graphic surface.
- ShouldSerializeHorzOffset()
Indicates whether the
HorzOffsetproperty should be persisted.
- ShouldSerializeLandscape()
Indicates whether the
Landscapeproperty should be persisted.
- ShouldSerializeMargins()
Indicates whether the
Marginsproperty should be persisted.
- ShouldSerializePageKind()
Indicates whether the
PageKindproperty should be persisted.
- ShouldSerializePageSize()
Indicates whether the
PageSizeproperty should be persisted.
- ShouldSerializeVertOffset()
Indicates whether the
VertOffsetproperty should be persisted.
- Update()
Recalculates page bounds.
- Update(bool)
Recalculates page bounds and content.
- Update(int, int, Point)
When implemented by a class, updates
IEditPagestate in accordance with specified parameters.