Table of Contents

Class XGraphicsDevExtensions

Namespace
PdfSharp.Quality
Assembly
PdfSharp.Quality-gdi.dll

Extensions for the XGraphics class.

public static class XGraphicsDevExtensions
Inheritance
XGraphicsDevExtensions
Inherited Members

Methods

DrawMeasureBox(XGraphics, string, XFont, XPoint)

Draws the measurement box for a specified text and a font.

public static void DrawMeasureBox(this XGraphics gfx, string text, XFont font, XPoint pos)

Parameters

gfx XGraphics

The XGraphics object

text string

The text to be measured.

font XFont

The font to be used for measuring.

pos XPoint

The start point of the box.