Displaying the Revision Number in Footer

Trying to add a paragraph in my footer to reflect current page/total pages and another line showing the Revision number (or Field called RevNum.) Here is the code I am trying (page numbers work, Revnum is just empty:

table.Rows[0].Cells[0].Blocks.Add(
new Paragraph(document,
    new Run(document, "Page "),
    new Field(document, FieldType.Page),
    new Run(document, " of "),
    new Field(document, FieldType.NumPages)));

table.Rows[0].Cells[0].Blocks.Add(
new Paragraph(document,
    new Run(document, "Version "),
    new Field(document, FieldType.RevNum)));

Hi,

We have added support for REVNUM fields in Field.Update() method.

Please try again with this NuGet package:
Install-Package GemBox.Document -Version 35.0.1926-hotfix

And try using something like this:

var revNumField = new Field(document, FieldType.RevNum);
revNumField.Update();

table.Rows[0].Cells[0].Blocks.Add(
    new Paragraph(document,
        new Run(document, "Version "),
        revNumField)));

Does this solve your issue?

Regards,
Mario