Sdílet prostřednictvím


Bidi.ProcessedLength Property

Definition

Get the length of the source text processed by the last call to setPara().

public virtual int ProcessedLength { [Android.Runtime.Register("getProcessedLength", "()I", "GetGetProcessedLengthHandler", ApiSince=29)] get; }
[<get: Android.Runtime.Register("getProcessedLength", "()I", "GetGetProcessedLengthHandler", ApiSince=29)>]
member this.ProcessedLength : int

Property Value

The length of the part of the source text processed by the last call to setPara.

Attributes

Remarks

Get the length of the source text processed by the last call to setPara(). This length may be different from the length of the source text if option OPTION_STREAMING has been set. <br> Note that whenever the length of the text affects the execution or the result of a method, it is the processed length which must be considered, except for setPara (which receives unprocessed source text) and getLength (which returns the original length of the source text).<br> In particular, the processed length is the one to consider in the following cases: <ul> <li>maximum value of the limit argument of setLine</li> <li>maximum value of the charIndex argument of getParagraph</li> <li>maximum value of the charIndex argument of getLevelAt</li> <li>number of elements in the array returned by getLevels</li> <li>maximum value of the logicalStart argument of getLogicalRun</li> <li>maximum value of the logicalIndex argument of getVisualIndex</li> <li>number of elements returned by getLogicalMap</li> <li>length of text processed by writeReordered</li> </ul>

Java documentation for android.icu.text.Bidi.getProcessedLength().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to