Skip to content

About

Simple parser for parse texts from EMF Metafile and SPL spool file(which includes EMF file only).

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

EMF2StringParser

A parser which can extract some texts from EMF Metafile and SPL spool file(which includes inner EMF file only). Early version yet.

How To Use

1. Load Metafile which you want to parse, with LoadMetaFile(System.Drawing.Imaging.Metafile, string, and byte[] is supported) or LoadFromSPLFile(string, and byte[] is supported) or Constructor with parameter.

Case A: Get Result as Lists of each RecordTypes

2. Execute ParseStart().

3. If Parsing was completed, results will be stored in ParsedExtTextOutWs, ParsedDrawStrings, ParsedSmallTextOuts as Generic.List .

Case B: Get Result as one combined string

2. Execute GetCombinedStringFromLoadedMetaFile();

3. Result will be returned as one string. Linebreaks and Whitespaces between record will be identified by the elements of LineBreakCandidates and SpaceCandidates.

Notes

  • This class is built for personal usage of its contributor. Cannot guarantee the consequences of uses.

About

Simple parser for parse texts from EMF Metafile and SPL spool file(which includes EMF file only).

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages