Type   Default Value   Read Only   Description
Float 10.0 No The current text size in points.

 

   
Notes
 
     

This property determines the size of text that is added to the document using methods like AddText.

The Size property is equivalent to the the Doc.FontSize property but unlike the FontSize property it allows fractional point sizes to be specified.

The font size is measured in points.

 

   
Example
 
     

The following example adds two blocks of styled text to a document. The first block is in 96.5 point type and the second is in 192.5 point type.

Set theDoc = Server.CreateObject("ABCpdf3.Doc")
theDoc.TextStyle.Size = 96.5
theDoc.AddText "Small "
theDoc.TextStyle.Size = 192.5
theDoc.AddText "Big"
theDoc.Save "c:\stylesize.pdf"


stylesize.pdf

 

   

 

Browser Based Help. Published by chm2web software.