|
iText 9.8.0 API
|
Class to store information about all page margin boxes for a single page. More...
Public Member Functions |
|
| PageMarginBoxes (IList< PageMarginContent > margins) | |
| Creates new PageMarginBoxes instance. More... |
|
| PageMarginBoxes (iText.Layout.Properties.Margins.PageMarginBoxes other) | |
| Creates new PageMarginBoxes instance by copying existing one. More... |
|
| virtual PageMarginContent | GetPageMarginContent (MarginBoxName marginBoxName) |
| Gets page margin content PageMarginContent by margin box name. More... |
|
| virtual float[] | GetMarginSizes () |
| Gets page margin sizes in top, right, bottom, left order. More... |
|
| virtual iText.Layout.Properties.Margins.PageMarginBoxes | SetMarginSizes (float[] marginSizes) |
| Sets page margin sizes in top, right, bottom, left order. More... |
|
| virtual float[] | Layout (DocumentRenderer documentRenderer, int pageNumber, Rectangle pageSize) |
| Layouts all page margins to calculate their occupied area and page margin sizes. More... |
|
| virtual void | Draw (DocumentRenderer documentRenderer, PdfDocument document, int pageNumber) |
| Draws all page margins for the page specified via page number. More... |
|
| override bool | Equals (Object o) |
| override int | GetHashCode () |
Static Public Member Functions |
|
| static void | Draw (IRenderer marginRenderer, Rectangle marginRect, DocumentRenderer documentRenderer, PdfDocument document, int pageNumber, String marginBoxName) |
| Draws all page margins for the page specified via page number. More... |
|
| static IRenderer | CreateRendererFromElement (IElement element, DocumentRenderer documentRenderer, PdfDocument pdfDocument) |
| Creates renderer from element excluding page breaks and adds tagging tree hints. More... |
|
Package Functions |
|
| virtual void | SetPageMarginTagRole (IElement element) |
| Sets the role of the page margin element to use in the document tag tree. More... |
|
Class to store information about all page margin boxes for a single page.
|
inline |
Creates new PageMarginBoxes instance.
| margins | list of PageMarginContent instances representing page margin content for corresponding margin box name MarginBoxName (position on the page) |
|
inline |
Creates new PageMarginBoxes instance by copying existing one.
| other |
PageMarginBoxes to copy
|
inlinestatic |
Creates renderer from element excluding page breaks and adds tagging tree hints.
| element |
iText.Layout.Element.IElement to create renderer for
| documentRenderer | document renderer to use as parent for margin renderer |
| pdfDocument |
iText.Kernel.Pdf.PdfDocument to which content is written
|
inlinevirtual |
Draws all page margins for the page specified via page number.
| documentRenderer | document renderer to use as parent for margin renderer |
| document |
iText.Kernel.Pdf.PdfDocument to which content is written
| pageNumber | page number |
|
inlinestatic |
Draws all page margins for the page specified via page number.
| marginRenderer | renderer for the margin content to draw |
| marginRect | page margin box rectangle |
| documentRenderer | document renderer to use as parent for margin renderer |
| document |
iText.Kernel.Pdf.PdfDocument to which content is written
| pageNumber | page number |
| marginBoxName | string value representing margin box name (defining its position on the page) |
|
inlinevirtual |
Gets page margin sizes in top, right, bottom, left order.
|
inlinevirtual |
Gets page margin content PageMarginContent by margin box name.
| marginBoxName |
MarginBoxName margin box name to get content for
|
inlinevirtual |
Layouts all page margins to calculate their occupied area and page margin sizes.
| documentRenderer |
iText.Layout.Renderer.DocumentRenderer renderer for the document to which content will be written
| pageNumber | page number |
| pageSize | page size |
|
inlinevirtual |
Sets page margin sizes in top, right, bottom, left order.
| marginSizes | array of float top, right, bottom, left margin sizes |
|
inlinepackagevirtual |
Sets the role of the page margin element to use in the document tag tree.
| element |
iText.Layout.Element.IElement to set role for