Kaynağa Gözat

Header and footer margin attribute added

master
delphin0850 9 yıl önce
ebeveyn
işleme
408940d382
1 değiştirilmiş dosya ile 32 ekleme ve 0 silme
  1. 32
    0
      DocX/DocX.cs

+ 32
- 0
DocX/DocX.cs Dosyayı Görüntüle

@@ -150,6 +150,38 @@ namespace Novacode
}
}
/// <summary>
/// Header margin value in points. 1pt = 1/72 of an inch. Word internally writes docx using units = 1/20th of a point.
/// </summary>
public float MarginHeader
{
get
{
return getMarginAttribute(XName.Get("header", DocX.w.NamespaceName));
}
set
{
setMarginAttribute(XName.Get("header", DocX.w.NamespaceName), value);
}
}
/// <summary>
/// Footer margin value in points. 1pt = 1/72 of an inch. Word internally writes docx using units = 1/20th of a point.
/// </summary>
public float MarginFooter
{
get
{
return getMarginAttribute(XName.Get("footer", DocX.w.NamespaceName));
}
set
{
setMarginAttribute(XName.Get("footer", DocX.w.NamespaceName), value);
}
}
/// <summary>
/// Page width value in points. 1pt = 1/72 of an inch. Word internally writes docx using units = 1/20th of a point.
/// </summary>

Loading…
İptal
Kaydet