Accusoft PrintPRO 7
TextWidth Method
See Also  Send Feedback
textStr
The string you want to know the width of.
AccusoftPrintPro7 ActiveX DLL > PrintPro Object : TextWidth Method

Glossary Item Box

Description

Calculates the width of a text string as it would be printed in the current font.

Syntax

Visual Basic
Public Function TextWidth( _
   ByVal textStr As String _
) As Single

Parameters

textStr
The string you want to know the width of.

Remarks

Not available at design time.

Calculates and returns the width expressed in terms of the ScaleMode property setting.

See Also

©2013. Accusoft Corporation. All Rights Reserved.