Accusoft PrintPRO 8
PrintTextRotated Method
Single-precision value indicating the x coordinate of the rotating text pivot point.
Single-precision value indicating the y coordinate of the rotating text pivot point.
A string expression to print.
An integer value indicating the rotation angle. Valid values range from 0 to 360 degrees.

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

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

PrintPro Object  | PrintPro Members

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback