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
painter
IPainterRepresents
IPainter
surface to draw on.rect
RectangleRectangular area of header/footer to draw on.
pageIndex
intIndex of page which header/footer is drawing.
pageCount
intTotal number of pages.
pageNumbers
boolSpecifies 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)