Tried different version of word documents and different page margins in them, but nothing I found on the web did the job.
Here's my attempt at reading page margins from a .docx file.
var document = WordprocessingDocument.Open(sourceDocxPath, true);
var myMargins = document.MainDocumentPart.Document.GetFirstChild<PageMargin>();
// always null