ProScript .NET Documentation
ProScript .NET Documentation
ProScript
Display Class
Display Methods
AdjustAspect Method
GetCaptionLength Method
GetColorDepth Method
GetHeight Method
GetRegionCount Method
GetTextHeight Method
GetTextWidth Method
GetWidth Method
ToString Method

# Display GetTextWidth Method

Gets the width of a single character in pixels.

Namespace: ProScript
Assembly: proscript-csharp (in proscript-csharp.dll) Version: 1.6.39.0 (1.6.39.0)
Syntax
C#
VB
C++
F#
Copy

    public int GetTextWidth()

    Public Function GetTextWidth As Integer

    public:
    int GetTextWidth()

    member GetTextWidth : unit -> int

#### Return Value

Type: Int32
The width of a single character in pixels.
See Also

#### Reference

Display Class
ProScript Namespace

Copyright 2015 Scriptel Corporation. All Rights Reserved.