Accusoft PrintPRO 7
PrintTextRotated Method
See Also  Send Feedback
X
Single-precision value indicating the x coordinate of the rotating text pivot point.
Y
Single-precision value indicating the y coordinate of the rotating text pivot point.
prntStr
A string expression to print.
Angle
An integer value indicating the rotation angle. Valid values range from 0 to 360 degrees.
Mode

An integer value indicating the rotation pivot mode:

0 — The text is left-justified at the pivot point

1 — The text is right-justified at the pivot point

2 — The text is center-justified at the pivot point

AccusoftPrintPro7 ActiveX DLL > PrintPro Object : PrintTextRotated Method

Glossary Item Box

Description

Places text rotated on the document to be printed.

Syntax

Visual Basic
Public Sub PrintTextRotated( _
   ByVal X As Single, _
   ByVal Y As Single, _
   ByVal prntStr As String, _
   ByVal Angle As Long, _
   ByVal Mode As Long _
) 

Parameters

X
Single-precision value indicating the x coordinate of the rotating text pivot point.
Y
Single-precision value indicating the y coordinate of the rotating text pivot point.
prntStr
A string expression to print.
Angle
An integer value indicating the rotation angle. Valid values range from 0 to 360 degrees.
Mode

An integer value indicating the rotation pivot mode:

0 — The text is left-justified at the pivot point

1 — The text is right-justified at the pivot point

2 — The text is center-justified at the pivot point

Remarks

The baseline of the text is positioned at the pivot point. If a printer has not been selected or a document has not been started, the PrintTextRotated method will select the default printer and start a new document.

See Also

©2013. Accusoft Corporation. All Rights Reserved.