setting formattedTextArea.VAlign

setting formattedTextArea.VAlign

Forum member · Feb 28, 2007
i expect this to be completely obvious, but i've been hacking away trying to set the VAlign of a formattedTextArea. The code below won't compile because it can't implicitly convert TextAlign to VAlign : FormattedTextArea fta = new FormattedTextArea(ftaString, 0, 0, ftaWidth, ftaHeight, ftaStyle); fta.VAlign = ceTe.DynamicPDF.TextAlign.Center; thanks,

Re: setting formattedTextArea.VAlign

Support · Mar 1, 2007
Hello, In order to set the VAlign property of the formatted text area you will have to use the VAlign enumeration. Following is the sample code for this. FormattedTextArea formattedArea = new FormattedTextArea(formattedString,20,20,200,200,formattedStyle); formattedArea.VAlign = VAlign.Bottom; Thanks, ceTe Software Support Team.

Re: setting formattedTextArea.VAlign

Forum member · Mar 1, 2007
thanks for the response... especially at 4:00AM !