SIL.FieldWorks.Common.Framework.FwEditingHelper.InsertPictureOrc C# (CSharp) Méthode

InsertPictureOrc() protected méthode

This method is broken out so TeEditingHelper can override and adjust annotations. Probably anything else that does it will need to adjust annotations, too, but nothing else yet uses this kind of picture in an StText.
protected InsertPictureOrc ( ICmPicture pict, ITsString tss, int ich, int hvoObj, int propTag, int ws ) : void
pict ICmPicture The picture to insert an ORC for
tss ITsString The initial value of the TsString into which the ORC is to be /// inserted.
ich int The character offset into the string.
hvoObj int The hvo of the object that owns the string property that will /// receive the tss after the ORC is inserted (typically a paragraph).
propTag int The property that holds the string.
ws int The writing system ID if the property is a multi-string.
Résultat void
		protected virtual void InsertPictureOrc(ICmPicture pict, ITsString tss, int ich, int hvoObj, int propTag, int ws)
		{
			ITsString newTss = pict.InsertORCAt(tss, ich);
			if (ws == 0)
				m_cache.DomainDataByFlid.SetString(hvoObj, propTag, newTss);
			else
				m_cache.DomainDataByFlid.SetMultiStringAlt(hvoObj, propTag, ws, newTss);
		}