Click or drag to resize
IDocumentItemFactoryCreateSegmentPair Method
Creates a segment pair object that can be used as a convenience when working with source and target segments in a IParagraphUnit.

Namespace: Sdl.FileTypeSupport.Framework.BilingualApi
Assembly: Sdl.FileTypeSupport.Framework.Core (in Sdl.FileTypeSupport.Framework.Core.dll) Version: 1.0.0.0 (1.0.2551.0)
Syntax
ISegmentPair CreateSegmentPair(
	ISegment source,
	ISegment target
)

Parameters

source
Type: Sdl.FileTypeSupport.Framework.BilingualApiISegment
The source segment of a paragraph unit. Must not be null.
target
Type: Sdl.FileTypeSupport.Framework.BilingualApiISegment
The target segment corresponding to the source segment. May be null if no target segment exists in the ParagraphUnit yet.

Return Value

Type: ISegmentPair

[Missing <returns> documentation for "M:Sdl.FileTypeSupport.Framework.BilingualApi.IDocumentItemFactory.CreateSegmentPair(Sdl.FileTypeSupport.Framework.BilingualApi.ISegment,Sdl.FileTypeSupport.Framework.BilingualApi.ISegment)"]

Remarks
The source and target segment passed in must be in the same paragraph unit.
See Also
Community
Edit

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