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

const wxMemoryOutputStream & wxPdfDocument::CloseAndGetBuffer (  ) [virtual]

Closes the document and returns the memory buffer containing the document.

The method first calls Close() if necessary to terminate the document.

Returns:
const wxMemoryOutputStream reference to the buffer containing the PDF document.
See also:
Close()

Definition at line 1765 of file pdfdoc.cpp.

References Close(), m_buffer, and m_state.

{
  if (m_state < 3)
  {
    Close();
  }

  return m_buffer;
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index