ShowUnicodeTextAligned
IPDFDocument4 :: Page Operations :: Text

See Also
Collapse All

This method draws wrapped text bounded by a rectangle.

Syntax

HRESULT ShowUnicodeTextAligned (
FLOAT left,
FLOAT top,
FLOAT right,
FLOAT bottom,
TextAlign align,
VerticalAlign verticalAlign,
BSTR text
)
Parameters
left
X coordinate of the top-left corner of the bounding rectangle

top
Y coordinate of the top-left corner of the bounding rectangle

right
X coordinate of the right-bottom corner of the bounding rectangle

bottom
Y coordinate of the right-bottom corner of the bounding rectangle

align
Horizontal alignment

verticalAlign
Vertical alignment

text
Text string to be displayed

Return value
If successful, this method returns S_OK. If it fails, this method should return one of the error values.

Remarks

This procedure draws an unicode text line inside the bounding rectangle with top-left and bottom-right corners, horizontal and vertical justifications specified.

See the ShowTextAligned method for examples.

See Also

Reference