Skip to main content

DraftView Members

Represents a draft view of the Rich Edit control.

Constructors

Name Description
DraftView(IRichEditControl) Initializes a new instance of the DraftView class with the specified owner.

Properties

Name Description
AdjustColorsToSkins Specifies whether or not to obtain the font color and background color values from the current skin, if they have not been defined explicitly. Inherited from RichEditView.
AllowDisplayLineNumbers Gets or sets whether line numbers can be displayed in the view. Inherited from RichEditView.
BackColor Gets or sets the background color of the View. Inherited from RichEditView.
Control Provides access to the IRichEditControl interface of the view owner. Inherited from RichEditView.
Padding Gets or sets the distance in pixels between the text and the control’s borders.
Type Gets the RichEditControl View’s type.
ZoomFactor Gets or sets the current zoom level used to display the document. Inherited from RichEditView.

Methods

Name Description
Dispose() For internal use. Inherited from RichEditView.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetCursorBounds() Gets the caret coordinates in the current document’s view. Inherited from RichEditView.
GetDocumentLayoutPosition(Point) Obtains the page index and the layout position on the page for the specified point. Inherited from RichEditView.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
GetVisiblePageLayoutInfos() Obtains information on the layout of visible pages. Inherited from RichEditView.
GetVisiblePagesRange() Gets the range encompassing all pages which are shown in the View. Inherited from RichEditView.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
PageLayoutPositionToPoint(PageLayoutPosition) Gets the position relative to the document and returns the position relative to the control. Inherited from RichEditView.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Overrides the base class method to clear the text representation of an object. Inherited from RichEditView.
Visit(IRichEditViewVisitor) Accepts the Visitor passed as the argument.

Events

Name Description
PageCountChanged Occurs when multiple pages in a view are changed. Inherited from PageBasedRichEditView.
PropertyChanged Occurs every time any of the RichEditView class properties has changed its value. Inherited from RichEditView.
See Also