GeometrySettingsGeometryTextExport Property |
Namespace: Ab2d.Common.ReaderWmf
public GeometryTextExportType GeometryTextExport { get; set; }
When objects are read as shapes, the text is usually represented with TextBlock elements. When text is read as geometries the text can be represented with GlyphRun.
But using GlyphRun has a big disadvantage when the read drawing is exported into xaml. The only way to set the font that is used by the GlyphRun object is by providing a file path and name to the font file. This makes the exported xaml not very portable to other computers.
To overcome this problem it is possible to set the GeometryTextExport value to PathGeometry. It means that all texts will be converted into PathGeometry and are therefore fully portable to any computer.
It is also possible to skip all texts from the read geometry.