Back to DOM
PageBorderZOrderValuesEnum
Definition
- Namespace
- DOM.Enums
- Assembly
- DOM.dll
Specifies the stacking order of a page border relative to page content.
Remarks
Used by to draw the border either behind or in front of the page's text and graphics. PageBorders.ZOrder
Examples
csharp
1// 1. Draw in front of content
2var pb = new PageBorders { ZOrder = PageBorderZOrderValues.front };
3
csharp
1// 2. Draw behind content
2var pb = new PageBorders { ZOrder = PageBorderZOrderValues.back };
3
csharp
1// 3. Watermark-style border
2var pb = new PageBorders { ZOrder = PageBorderZOrderValues.back };
3
csharp
1// 4. Border that overlays content
2var pb = new PageBorders { ZOrder = PageBorderZOrderValues.front };
3
Fields
back
Draw behind page content.
front
Draw in front of page content.