Adding an image into the flow of a document

Adding an image into the flow of a document

Forum member · Feb 26, 2008
Hi there I'm creating a merged PDF that needs to include a bitmap representation of a signature in the flow of the document. The actual copy of the letter is created using a FormattedTextArea object. The copy needs to end with the image of the signature but I'm not sure how to add this image at the end of the FormattedTextArea because I dont know how large the FormattedTextArea will be. Hope this makes sense. Stephen

Re: Adding an image into the flow of a document

Support · Feb 26, 2008
Hello Stephen, You will have to keep track of the Y position on the page to add a new element after adding the FormattedTextArea. You can get the height required by the FormattedTextArea by using the GetRequiredHeight method of the FormattedTextArea object. You should be able to use this and the Y value to determine where to place the signature image after adding some padding. Thanks, ceTe Software Support Team