Class
OfficeThemePage
OfficeIMO
Page margins for paged documents (Word and PDF), in physical units.
Inheritance
- object
- OfficeThemePage
Usage
Explore 4 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
- Property OfficeTheme.Page
- Method OfficeThemePage.With
Accepted by parameters 2
- Constructor OfficeTheme.OfficeTheme
- Method OfficeTheme.WithPage
Constructors
public OfficeThemePage(OfficeLength marginTop, OfficeLength marginRight, OfficeLength marginBottom, OfficeLength marginLeft) #Creates immutable page margins.
Parameters
- marginTop OfficeIMO.OfficeLength
- marginRight OfficeIMO.OfficeLength
- marginBottom OfficeIMO.OfficeLength
- marginLeft OfficeIMO.OfficeLength
Methods
public OfficeThemePage With(OfficeLength? marginTop = null, OfficeLength? marginRight = null, OfficeLength? marginBottom = null, OfficeLength? marginLeft = null) #Returns a copy with the supplied replacements; omitted values are retained.
Parameters
- marginTop OfficeIMO.OfficeLength? = null
- marginRight OfficeIMO.OfficeLength? = null
- marginBottom OfficeIMO.OfficeLength? = null
- marginLeft OfficeIMO.OfficeLength? = null
Returns
OfficeThemePage