Skip to content

PdfGraphics.DrawFormattedContent Method

Overloads

Name Description
DrawFormattedContent(PdfFormattedContent,Double,Double) Draws the formatted content on the graphics surface at the specified position.
DrawFormattedContent(PdfFormattedContent,Double,Double,Double) Draws the formatted content on the graphics surface at the specified position.
DrawFormattedContent(PdfFormattedContent,Double,Double,Double,Double) Draws the formatted content on the graphics surface in the specified box.
DrawFormattedContent(PdfFormattedContent,Double,Double,Double,Double,Double) Draws the formatted content on the graphics surface in the specified box.

DrawFormattedContent(PdfFormattedContent,Double,Double)

Draws the formatted content on the graphics surface at the specified position.

C#
public void DrawFormattedContent(PdfFormattedContent formattedContent, double x, double y)

Parameters

formattedContent PdfFormattedContent

The formatted content.

x Double

X coordinate of the content left margin.

y Double

Y coordinate of the content top margin.

DrawFormattedContent(PdfFormattedContent,Double,Double,Double)

Draws the formatted content on the graphics surface at the specified position.

C#
public void DrawFormattedContent(PdfFormattedContent formattedContent, double x, double y, double rotation)

Parameters

formattedContent PdfFormattedContent

The formatted content.

x Double

X coordinate of the content left margin.

y Double

Y coordinate of the content top margin.

rotation Double

Rotation angle for drawing the formatted content

DrawFormattedContent(PdfFormattedContent,Double,Double,Double,Double)

Draws the formatted content on the graphics surface in the specified box.

C#
public void DrawFormattedContent(PdfFormattedContent formattedContent, double x, double y, double width, double height)

Parameters

formattedContent PdfFormattedContent

The formatted content.

x Double

X coordinate of the box left margin.

y Double

Y coordinate of the box top margin.

width Double

Box width

height Double

Box height

DrawFormattedContent(PdfFormattedContent,Double,Double,Double,Double,Double)

Draws the formatted content on the graphics surface in the specified box.

C#
public void DrawFormattedContent(PdfFormattedContent formattedContent, double x, double y, double width, double height, double rotation)

Parameters

formattedContent PdfFormattedContent

The formatted content.

x Double

X coordinate of the box left margin.

y Double

Y coordinate of the box top margin.

width Double

Box width

height Double

Box height

rotation Double

Rotation angle.