In This Article

PrinterWordWrapGlyphMargin Class

Represents a default implementation of a word wrap glyph margin for an IPrinterView.

public class PrinterWordWrapGlyphMargin : PrinterViewMarginBase, IPrinterViewMargin, ITextViewMargin, IOrderable, IKeyedObject
Inheritance:
object Visual UIElement FrameworkElement Control PrinterViewMarginBase object
Implements:
IPrinterViewMargin ITextViewMargin IOrderable IKeyedObject

Constructors

PrinterWordWrapGlyphMargin(IPrinterView)

Initializes an instance of the PrinterWordWrapGlyphMargin class.

public PrinterWordWrapGlyphMargin(IPrinterView view)
Parameter Type Description
view IPrinterView

The IPrinterView that will host the margin.

Methods

Draw(TextViewDrawContext)

Draws the margin and its content.

public override void Draw(TextViewDrawContext context)
Parameter Type Description
context TextViewDrawContext

The TextViewDrawContext to use for rendering.

UpdateVisibility()

Updates the visibility of the margin.

public override void UpdateVisibility()

Inherited Members