How do I I flatten glyphs to paths in PDF?

Q: Can I I flatten glyphs to paths in PDF using PDFNet ?
---------------

A: You can use PDFNet to convert text to paths (e.g. to prevent simple
text extraction, indexing etc).

A good starting point would be ElementEdit & ElementReaderAdv
samples.
The idea is to traverse all characters on a given PDF page (similar to
RecolorText sample - http://groups.google.com/group/pdfnet-sdk/t/3dc46957e08067d8#)
and then instead of writing character element you would write a path
element. You can obtain path data for a given character using
element.GetGState().GetFont().GetPathData(). A new path element would
be created using ElementBuilder.CreatePath(....). The only tricky
thing would be to set the proper transformation matrix on the path.