[]
Creates a C1.WPF.Document.C1DocumentRange object that defines a word containing a specified position in the document.
public C1DocumentRange GetWordDocumentRange(C1DocumentTextPosition position, IC1TextMeasurementContext textMeasurementContext)
Type | Name | Description |
---|---|---|
C1DocumentTextPosition | position | A C1.WPF.Document.C1DocumentTextPosition object specifying the text position. |
IC1TextMeasurementContext | textMeasurementContext | The C1.WPF.Document.Util.IC1TextMeasurementContext to use while building C1.WPF.Document.C1DocumentRange. |
Type | Description |
---|---|
C1DocumentRange | A C1.WPF.Document.C1DocumentRange that defines the word that contains or is near the specified |