| SegmentToPlain Method (Boolean, Boolean, ListSegmentPosition) |
Computes the plain-text version of the segment and returns, in the ranges list,
the segment range of each character of the result string. The number of elements
in that collection will be equal to the length of the string in characters.
Namespace: Sdl.LanguagePlatform.CoreAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic string ToPlain(
bool tolower,
bool tobase,
out List<SegmentPosition> ranges
)
Public Function ToPlain (
tolower As Boolean,
tobase As Boolean,
<OutAttribute> ByRef ranges As List(Of SegmentPosition)
) As String
public:
String^ ToPlain(
bool tolower,
bool tobase,
[OutAttribute] List<SegmentPosition^>^% ranges
)
member ToPlain :
tolower : bool *
tobase : bool *
ranges : List<SegmentPosition> byref -> string
Parameters
- tolower
- Type: SystemBoolean
If true, the returned string will be lower-cased - tobase
- Type: SystemBoolean
If true, all letters will be mapped to their base character (i.e.
diacritics will be stripped) - ranges
- Type: System.Collections.GenericListSegmentPosition
A reference to the list of segment ranges which will be returned
upon completion. The list includes, for each character in the result string, the
position in the original segment.
Return Value
Type:
String[Missing <returns> documentation for "M:Sdl.LanguagePlatform.Core.Segment.ToPlain(System.Boolean,System.Boolean,System.Collections.Generic.List{Sdl.LanguagePlatform.Core.SegmentPosition}@)"]
See Also
Comments