ShowTextAt
IPDFDocument4 :: Page Operations :: Text

See Also
Collapse All

This method draws text in a PDF document starting from a specified position.

Syntax

HRESULT ShowTextAt (
FLOAT x,
FLOAT y,
BSTR text
)
Parameters
x
X coordinate of the text position

y
Y coordinate of the text position

text
Text 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 ASCII text stringĀ using the current font starting at location (x, y).

See the SetWordSpacing method for examples.

See Also

Reference