[]
        
(Showing Draft Content)

C1.Pdf.C1PdfDocument.DrawDocument

DrawDocument Method

DrawDocument(C1WordDocument, RectangleF, float)

Draws a Word document in the specified rectangle.

Declaration
public float DrawDocument(C1WordDocument document, RectangleF rc, float offset = 0)
Parameters
Type Name Description
C1WordDocument document

The Word document object.

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 DrawDocument).

Returns
Type Description
float

The offset of the first line that was not printed because it did not fit in the specified rectangle, or the value of MaxValue if the entire string was rendered.