Determines where a screen line should be wrapped at.
Namespace: Sgry.AzukiAssembly: Azuki (in Azuki.dll) Version: 1.7.13.40248
Syntax
C# |
---|
public virtual int HandleWordWrapping( Document doc, int index ) |
Visual Basic |
---|
Public Overridable Function HandleWordWrapping ( doc As Document, index As Integer ) As Integer |
Parameters
- doc
- Type: Sgry.Azuki..::..Document
The document currently rendering.
- index
- Type: System..::..Int32
The index of character which is to be drawn over the right edge of text area.
Return Value
Type: Int32The index of the character which starts the next screen line.
Implements
IWordProc..::..HandleWordWrapping(Document, Int32)
Exceptions
Exception | Condition |
---|---|
System..::..ArgumentNullException | doc is null. |
System..::..ArgumentOutOfRangeException | index is less than 0 or greater than length of the document. |