SIL.FieldWorks.Common.RootSites.CollectorEnv.AddPictureWithCaption C# (CSharp) Method

AddPictureWithCaption() public method

Member AddPicture
public AddPictureWithCaption ( IPicture _pict, int tag, ITsTextProps _ttpCaption, int hvoCmFile, int ws, int dxmpWidth, int dympHeight, IVwViewConstructor _vc ) : void
_pict IPicture _pict
tag int tag
_ttpCaption ITsTextProps The _TTP caption.
hvoCmFile int The hvo cm file.
ws int The ws.
dxmpWidth int Width of the DXMP.
dympHeight int Height of the dymp.
_vc IVwViewConstructor The view constructor.
return void
		public void AddPictureWithCaption(IPicture _pict, int tag,
			ITsTextProps _ttpCaption, int hvoCmFile, int ws, int dxmpWidth, int dympHeight,
			IVwViewConstructor _vc)
		{
			if (Finished)
				return;
			AddPicture(_pict, tag, dxmpWidth, dympHeight);
			OpenParagraph();
			AddStringAltMember(CmPictureTags.kflidCaption, ws, _vc);
			CloseParagraph();
		}