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

InsertPicture() public méthode

Insert a picture at the current selection of the active rootsite.
public InsertPicture ( string srcFilename, ITsString captionTss, string sFolder ) : void
srcFilename string The path to the original filename (an internal copy will /// be made in this method)
captionTss ITsString The caption
sFolder string The name of the CmFolder where picture should be stored
Résultat void
		public void InsertPicture(string srcFilename, ITsString captionTss, string sFolder)
		{
			CheckDisposed();

			// Create the picture and add the ORC to the text at the insertion point.
			InsertPicture(m_cache.ServiceLocator.GetInstance<ICmPictureFactory>().Create(
				srcFilename, captionTss, sFolder));
		}
		#endregion

Same methods

FwEditingHelper::InsertPicture ( ICmPicture pict ) : void