public GenericTextParagraphProperties(bool isFirst) { FlowDirection = FlowDirection.LeftToRight; TextAlignment = TextAlignment.Left; LineHeight = 0; // AUTO FirstLineInParagraph = isFirst; DefaultTextRunProperties = new TextSpanRunProperties(); TextWrapping = TextWrapping.Wrap; TextMarkerProperties = null; Indent = 0; }
public static TextCharacters CreateCharactersObject( int characterStartIndex, TextBlockContent content, TextSpanRunProperties properties ) { return(new TextCharacters(content.GetText(), characterStartIndex, content.TextLength - characterStartIndex, properties)); }