[]
Draws a file content to PDF document.
public void DrawFile(string fileName, RectangleF rc, float offset = 0)
| Type | Name | Description |
|---|---|---|
| string | fileName | The full file path. |
| RectangleF | rc | RectangleF structure that specifies the location of the drawn text, in points from the top left corner of the page. |
| float | offset | Offset of the first line to draw (usually the return value of a previous call to DrawStringHtml). |
Draws a stream content to PDF document.
public void DrawFile(Stream stream, string ext, RectangleF rc, float offset = 0)
| Type | Name | Description |
|---|---|---|
| Stream | stream | The stream with context data. |
| string | ext | The file extension for content definitions. |
| RectangleF | rc | RectangleF structure that specifies the location of the drawn context, in points from the top left corner of the page. |
| float | offset | Offset of the first line to draw (usually the return value of a previous call to DrawStringHtml). |