Posted by a ceTe Software moderator
Yes, you can justify the text which you are adding without any problem using our DynamicPDF Generator product. You will have to use DPDF_TextAlign_FullJustify enumerator using which you can make the text to align to Justify, FullJustify,Center, Left and Right. Below is the sample code for it.
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"-->
<%
Dim MyDocument
Set MyDocument = Server.CreateObject( "DynamicPDF.Document" )
Dim MyPage
Set MyPage = MyDocument.AddPage()
Dim MyLabel
Set MyLabel = MyPage.AddLabel( "Hello World!", 0, 0, 100, 12 )
MyLabel.Font = DPDF_Font_Helvetica
MyLabel.Align = DPDF_TextAlign_FullJustify
MyLabel.FontSize = 12
MyDocument.DrawToWeb True
Set MyPage = Nothing
Set MyDocument = Nothing
%>
Thanks,
ceTe Software Support Team.