Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Printing size of text


I need the printing size (the width the text is printed) of a text because I want to set the font size accordingly.

Here's how it's done in Visual Basic:

Dim instance As Printer

Dim text As String

Dim returnValue As Single

returnValue = instance.TextWidth(text)



Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question