Suggested Design

Suggested Design

Forum member · Nov 9, 2006
My web contact management software I developed uses your product to create the letters mailed to customers. It has been great but now my customers are asking for another feature, adding their signature based on a file they provide. Below is a simplified code of what I have done. do until rs1.eof logo = server.MapPath(session("reportPath")& "\logo.jpg") set logo = objPage1.AddImage(logo, aLogoSetting(0),aLogoSetting(1),aLogoSetting(2)) 'add the logo 'I concatenate the whole letter (date, heading, salutation, document text, closing, signature name) into one large string, post it as a formatted text area 'the setting array figures out all the positioning based on the letter head settings (aSetting(i) in the application) set MyFormattedTextArea = objPage1.AddFormattedTextArea(strLetter, aSetting(0), aSetting(1), aSetting(2), aSetting(3), aSetting(4), aSetting(5)) 'then move to the next customer letter rs1.movenext My issue is how do I post the signature image after the closing and before the signature name. If I concatenate up to the closing, how do I figure the positioning so I can set the signature image in the correct place. Understand that each customer letter is different in size as there are 100's of letters in my application. Any recommendation or help would be greatly appreciated.

Re: Suggested Design

Support · Nov 9, 2006
You can use the GetRequiredHeight method of the FormattedTextArea to get the height of the text. You should be able to use this and the Y value to determine where to place the signature image. FormattedTextArea.GetRequiredHeight() Method Thanks, ceTe Software Support Team