|
In the following example, we add three blocks of text to a
document. The first block uses the default line spacing. The second
block uses a positive value to space out the lines. The last block
uses a negative value to shift the lines together.
Set theDoc = Server.CreateObject("ABCpdf13.Doc")
theText = "Gallia est omnis divisa in partes tres, quarum unam
incolunt Belgae, aliam Aquitani..."
theDoc.TextStyle.Size = 48
theDoc.AddText theText
theDoc.Rect.Move 0, -250
theDoc.TextStyle.LineSpacing = 20
theDoc.AddText theText
theDoc.Rect.Move 0, -350
theDoc.TextStyle.LineSpacing = -20
theDoc.AddText theText
theDoc.Save "c:\mypdfs\stylelspace.pdf"

stylelspace.pdf
|