Exemple #1
0
 /// <summary>
 /// Get a logical run.
 /// </summary>
 /// <param name="logicalPosition">A logical position within the source text</param>
 /// <param name="runLevel">Will receive the level of the corresponding run</param>
 /// <returns>The limit of the corresponding run</returns>
 public int GetLogicalRun(int logicalPosition, out byte runLevel)
 {
     NativeMethods.ubidi_getLogicalRun(_biDi, logicalPosition, out int limit, out runLevel);
     return(limit);
 }