Click or drag to resize
SegmentToPlain Method (Int32, Int32)
Returns a string containing only the plain text in this segment, covering the given token range. An exception will be thrown if the segment's tokens are not set or the token range is outside the bounds.

Namespace: Sdl.LanguagePlatform.Core
Assembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntax
public string ToPlain(
	int fromToken,
	int intoToken
)

Parameters

fromToken
Type: SystemInt32
The index of the first token
intoToken
Type: SystemInt32
The index of the last token (inclusive, i.e. "into" semantics)

Return Value

Type: String
A plain text string covering the specified token range
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments