BrickGraphics.MeasureString(String, Font) Method

Calculates the length of a specified text.

Namespace: DevExpress.XtraPrinting

Assembly: DevExpress.Printing.v20.1.Core.dll

Declaration

public SizeF MeasureString(
    string text,
    Font font
)
Public Function MeasureString(
    text As String,
    font As Font
) As SizeF

Parameters

Name Type Description
text String

A String value.

font Font

A Font object.

Returns

Type Description
SizeF

A SizeF structure, specifying the string length.

See Also