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

void wxPdfDocument::Write ( double  h,
const wxString &  txt,
const wxPdfLink link = wxPdfLink(-1) 
) [virtual]

This method prints text from the current position.

When the right margin is reached (or the
character is met) a line break occurs and text continues from the left margin. Upon method exit, the current position is left just at the end of the text. It is possible to put a link on the text.

Parameters:
hLine height
txtString to print
linkURL or identifier returned by AddLink()
See also:
SetFont(), SetTextColor(), AddLink(), MultiCell(), SetAutoPageBreak()

Definition at line 1323 of file pdfdoc.cpp.

References WriteCell(), and wxPDF_BORDER_NONE.

Referenced by ShapedText().

{
  WriteCell(h, txt, wxPDF_BORDER_NONE, 0, link);
}

Here is the call graph for this function:

Here is the caller graph for this function:


Generated by  Doxygen 1.6.0   Back to index