Method TranslateNumericPicture
TranslateNumericPicture(string)
Translates a Word numeric picture into a .NET custom numeric format string. The two
syntaxes overlap almost entirely; the differences that matter are that % and
‰ scale the value in .NET but are literal in Word, and that Word uses
</code> to escape.
public static string TranslateNumericPicture(string picture)
Parameters
picturestringThe Word picture.
Returns
- string
The .NET format string.
Exceptions
- ArgumentNullException
pictureis null.