ClassDocumentPrintPresenter
Definition
Namespace:Telerik.WinForms.Documents.UI
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class DocumentPrintPresenter : ContentControl, INotifyPropertyChanged, ICustomTypeDescriptor, ISupportSystemSkin, IStylableNode, ISupportDrop, IDocumentEditorPresenter, IDisposable, IUILayerContainer
Inheritance: objectDisposableObjectRadObjectRadElementVisualElementUIElementFrameworkElementContentControlDocumentPrintPresenter
Implements:
Inherited Members
Constructors
DocumentPrintPresenter(PrintSettings)
Declaration
public DocumentPrintPresenter(PrintSettings settings)
Parameters
settings
Properties
IsFocusable
This property is used internally!
Declaration
public override bool IsFocusable { get; set; }
Property Value
Overrides
Owner
Declaration
public RadRichTextBox Owner { get; set; }
Property Value
Implements
Settings
Declaration
public PrintSettings Settings { get; set; }
Property Value
UILayers
Declaration
public UILayerStack UILayers { get; }
Property Value
Implements
Methods
ArrangeOverride(SizeF)
Arranges the RadElement to its final location. The element must call the Arrange method of each of its children.
Declaration
protected override SizeF ArrangeOverride(SizeF finalSize)
Parameters
finalSize
The size that is available for element.
Returns
The rectangle occupied by the element. Usually finalSize. Should you return different size, the Layout system will restart measuring and rearranging the items. That could lead to infinite recursion.
Overrides
Remarks
In this method call to the Arrange method of each child must be made.
DoOnDocumentChanged()
Declaration
public void DoOnDocumentChanged()
Implements
DoOnDocumentChanging()
Declaration
public void DoOnDocumentChanging()
Implements
FocusCaret()
Declaration
public void FocusCaret()
Implements
GetDocumentPositionFromViewPoint(Point)
Declaration
public DocumentPosition GetDocumentPositionFromViewPoint(Point viewPoint)
Parameters
viewPoint
Returns
Implements
GetViewPointFromDocumentPosition(DocumentPosition)
Declaration
public Point GetViewPointFromDocumentPosition(DocumentPosition position)
Parameters
position
Returns
Implements
HideCaret()
Declaration
public void HideCaret()
Implements
HideDropMarker()
Declaration
public void HideDropMarker()
Implements
MeasureOverride(SizeF)
Measures the space required by the RadElement
Used by the layout system.
Declaration
protected override SizeF MeasureOverride(SizeF availableSize)
Parameters
availableSize
The size that is available to the RadElement. The available size can be infinity (to take the full size of the element)
Returns
The minimum size required by the element to be completely visible. Cannot be infinity.
Overrides
Remarks
In this method call to the Measure method of each child must be made.
MoveDropMarker(DocumentPosition)
Declaration
public void MoveDropMarker(DocumentPosition position)
Parameters
position
Implements
PrintPage(Graphics, int, RectangleF)
Declaration
public void PrintPage(Graphics graphics, int pageNumber, RectangleF drawArea)
Parameters
graphics
pageNumber
drawArea
RecreateUI()
Declaration
public void RecreateUI()
Implements
ShowCaret()
Declaration
public void ShowCaret()
Implements
ShowDropMarker(DocumentPosition)
Declaration
public void ShowDropMarker(DocumentPosition position)
Parameters
position
Implements
UpdateCaretSize()
Declaration
public void UpdateCaretSize()
Implements
UpdateProofingTextDecoration()
Declaration
public void UpdateProofingTextDecoration()
Implements
Events
PrintingCompleted
Declaration
public event EventHandler<PrintCompletedEventArgs> PrintingCompleted
Event Value