Table of Contents

Method ToAlphabetic

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

ToAlphabetic(long, bool)

Converts a number to Word's alphabetic counter: 1–26 are A–Z, and beyond that the letter repeats (27 is AA, 28 is BB) rather than carrying like a spreadsheet column.

public static string ToAlphabetic(long value, bool uppercase)

Parameters

value long

The value.

uppercase bool

Whether to use uppercase letters.

Returns

string

The alphabetic counter.