Method Paint
Paint(IPainter, Rectangle, int, int, bool)
Draws page header/footer on the specified graphic surface.
public virtual void Paint(IPainter painter, Rectangle rect, int pageIndex, int pageCount, bool pageNumbers)
Parameters
painterIPainterRepresents
IPaintersurface to draw on.rectRectangleRectangular area of header/footer to draw on.
pageIndexintIndex of page which header/footer is drawing.
pageCountintTotal number of pages.
pageNumbersboolSpecifies whether header/footer should draw page number.
Paint(IPainter, RectD, int, int, bool)
public virtual void Paint(IPainter painter, RectD rect, int pageIndex, int pageCount, bool pageNumbers)