C# Class SIL.FieldWorks.FDO.DomainImpl.ScrTxtParaFactory

Show file Open project: sillsdev/FieldWorks

Public Methods

Method Description
CreateWithStyle ( IStText owner, int iPos, string styleName ) : IScrTxtPara

Create a new ScrTxtPara with the specified style.

CreateWithStyle ( IStText owner, string styleName ) : IScrTxtPara

Create a new ScrTxtPara with the specified style.

Method Details

CreateWithStyle() public method

Create a new ScrTxtPara with the specified style.
public CreateWithStyle ( IStText owner, int iPos, string styleName ) : IScrTxtPara
owner IStText The owner for the created paragraph.
iPos int The index where the new paragraph should be inserted.
styleName string Name of the style to apply to the paragraph style rules.
return IScrTxtPara

CreateWithStyle() public method

Create a new ScrTxtPara with the specified style.
public CreateWithStyle ( IStText owner, string styleName ) : IScrTxtPara
owner IStText The owner for the created paragraph.
styleName string Name of the style to apply to the paragraph style rules.
return IScrTxtPara