Table of Contents

Method TranslateNumericPicture

Namespace
DocWright.Dom.Fields
Assembly
DocWright.Dom.dll

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

picture string

The Word picture.

Returns

string

The .NET format string.

Exceptions

ArgumentNullException

picture is null.