Table of Contents

Method RenderObject

Namespace
MigraDoc.Rendering
Assembly
MigraDoc.Rendering.dll

RenderObject(XGraphics, XUnitPt, XUnitPt, XUnitPt, DocumentObject)

Renders a single object to the specified graphics object at the given point.

public void RenderObject(XGraphics graphics, XUnitPt xPosition, XUnitPt yPosition, XUnitPt width, DocumentObject documentObject)

Parameters

graphics XGraphics

The graphics object to render on.

xPosition XUnitPt

The left position of the rendered object.

yPosition XUnitPt

The top position of the rendered object.

width XUnitPt

The width.

documentObject DocumentObject

The document object to render. Can be paragraph, table, or shape.

Remarks

This function is still in an experimental state.