Method InParagraph
InParagraph(Paragraph, int)
Creates a position at an offset into a paragraph's content.
public static DocumentPosition InParagraph(Paragraph paragraph, int offset)
Parameters
Returns
- DocumentPosition
The position.
Exceptions
- ArgumentNullException
paragraphis null.- ArgumentOutOfRangeException
offsetis outside the paragraph's content.