Logo Search packages:      
Sourcecode: libpodofo version File versions  Download package

void PoDoFo::PdfPainter::DrawMultiLineText ( const PdfRect rRect,
const PdfString rsText,
EPdfAlignment  eAlignment = ePdfAlignment_Left,
EPdfVerticalAlignment  eVertical = ePdfVerticalAlignment_Top 
) [inline, inherited]

Draw multiline text into a rectangle doing automatic wordwrapping. The current font is used and SetFont has to be called at least once before using this function

rRectbounding rectangle of the text
rsTextthe text which should be drawn
eAlignmentalignment of the individual text lines in the given bounding box
eVerticalvertical alignment of the text in the given bounding box

Definition at line 879 of file PdfPainter.h.

References PoDoFo::PdfPainter::DrawMultiLineText(), PoDoFo::PdfRect::GetBottom(), PoDoFo::PdfRect::GetHeight(), PoDoFo::PdfRect::GetLeft(), and PoDoFo::PdfRect::GetWidth().

    this->DrawMultiLineText( rRect.GetLeft(), rRect.GetBottom(), rRect.GetWidth(), rRect.GetHeight(), 
                             rsText, eAlignment, eVertical );

Here is the call graph for this function:

Generated by  Doxygen 1.6.0   Back to index