ComponentOne VSView 8.0
TextWidth Property (VSPrinter)

Returns the width of a string, in twips.

Syntax

val# = [form!]VSPrinter.TextWidth(Text As String)

Remarks

This property does not take into account word wrapping or the settings of the SpaceBefore and SpaceAfter properties. To measure formatted text, use the CalcParagraph or CalcText properties instead.

Data Type

Double

 

 


Copyright (c) GrapeCity, inc. All rights reserved.

Product Support Forum  |  Documentation Feedback