PDFPAGE_UnicodeTextOutBox
IPDFDocument3 :: PDF page methods

See Also
Collapse All

This method draws wrapped unicode text bounded by a rectangle.

Syntax

HRESULT PDFPAGE_UnicodeTextOutBox (
DOUBLE x,
DOUBLE y,
DOUBLE interval,
DOUBLE boxWidth,
DOUBLE boxHeight,
BSTR text,
LONG* charactersInOutput
)
Parameters
x
X coordinate of the starting text position

y
Y coordinate of the starting text position

interval
Value of the interval

boxWidth
Width of the bounding rectangle

boxHeight
Height of the bounding rectangle

text
Unicode text to be displayed

charactersInOutput
Pointer to the location where the length of the string that was successfully drawn in the "box" will be written to

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

Remarks

This method draws a unicode text string starting from an (x, y) point (using the current font) inside the rectangle area, with (boxWidth, boxHeight) as the rectangle size, and with the distance interval between the lines when wrapped.

Equivalent in new interface: IPDFDocument4::ShowUnicodeTextLines.

See Also

Reference