Share via


PrintJobSettings.getTextWidthInPPI Method

Calculates the physical width of the specified string, given the current settings.

Syntax

public int getTextWidthInPPI(str text)

Run On

Called

Parameters

  • text
    Type: str
    The text string for which to calculate the width.

Return Value

Type: int
The width of the specified string.

See Also

Reference

PrintJobSettings Class