I place signature picture to textbox programmatically using bookmark and try to control it'sdeletetion by user with AlternativeText property.
Here Power Builder script:
If lole_Word.ActiveDocument.Bookmarks.Exists("signature_image") = True Then
lole_Word.Application.Selection.InlineShapes.AddPicture(is_sign_filename, False, True)
ll_count = lole_Word.ActiveDocument.InlineShapes.Count
if ll_count > 0 then lole_Word.ActiveDocument.InlineShapes[ll_count].AlternativeText=_'sign_image_name' lole_Word.ActiveDocument.Bookmarks.Item("signature_image").Delete()
But ll_count does not changes and new picture does not appears in This.ole_word.Object.Application.ActiveDocument.Shapes.
How I can control if signature picture exists in document?
There is no problem when I pplacing picture to main document, only with textbox.