TPdfWriter.BeginDoc Method
Call this method before starting the output. It will initialize a new page. After this you can call DrawString(string, TUIFont, TUIBrush, Double, Double), NewPage, etc. Always end the document with a call to EndDoc and then remember to close the stream.
Syntax
Unit: FlexCel.Pdf
procedure TPdfWriter.BeginDoc(const aDataStream: TStream);
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
const | aDataStream | TStream |