Table of Contents

Method DrawString

Namespace
PdfSharp.Drawing
Assembly
PdfSharp.dll

DrawString(string, XFont, XBrush, XPoint)

Draws the specified text string.

public void DrawString(string s, XFont font, XBrush brush, XPoint point)

Parameters

s string
font XFont
brush XBrush
point XPoint

DrawString(string, XFont, XBrush, XPoint, XStringFormat)

Draws the specified text string.

public void DrawString(string s, XFont font, XBrush brush, XPoint point, XStringFormat format)

Parameters

s string
font XFont
brush XBrush
point XPoint
format XStringFormat

DrawString(string, XFont, XBrush, double, double)

Draws the specified text string.

public void DrawString(string s, XFont font, XBrush brush, double x, double y)

Parameters

s string
font XFont
brush XBrush
x double
y double

DrawString(string, XFont, XBrush, double, double, XStringFormat)

Draws the specified text string.

public void DrawString(string s, XFont font, XBrush brush, double x, double y, XStringFormat format)

Parameters

s string
font XFont
brush XBrush
x double
y double
format XStringFormat

DrawString(string, XFont, XBrush, XRect)

Draws the specified text string.

public void DrawString(string s, XFont font, XBrush brush, XRect layoutRectangle)

Parameters

s string
font XFont
brush XBrush
layoutRectangle XRect

DrawString(string, XFont, XBrush, XRect, XStringFormat)

Draws the specified text string.

public void DrawString(string text, XFont font, XBrush brush, XRect layoutRectangle, XStringFormat format)

Parameters

text string
font XFont
brush XBrush
layoutRectangle XRect
format XStringFormat