Replaces the text on the page with glyph outlines.

 

   

Syntax
 

[C#]
void VectorizeText()
[Visual Basic]
Sub VectorizeText()

Throws Exceptions may throw Exception()

 

   

Params
 
Name Description
none  

 

   

Notes
 

Use this method to vectorize the text (i.e. replace the text with equivalent glyph polygon outlines).

 

   

Example
 

[C#]
Doc theDoc = new Doc();
theDoc.FontSize = 96;
theDoc.AddText("Hello World");
foreach (Page page in theDoc.ObjectSoup.Catalog.Pages.GetPageArrayAll())
  page.VectorizeText();
theDoc.Save(Server.MapPath("VectorizedText.pdf"));
theDoc.Clear();

[Visual Basic]
Dim theDoc As Doc = New Doc()
theDoc.FontSize = 96
theDoc.AddText("Hello World")
Dim thePage As Page
For Each thePage in theDoc.ObjectSoup.Catalog.Pages.GetPageArrayAll()
  thePage.VectorizeText()
Next
theDoc.Save(Server.MapPath("VectorizedText.pdf"))
theDoc.Clear()