SetAutoCreateWebLinks

Text

Description

Enables or disables automatic URI link annotations for URL-like text drawn with DrawText

Syntax

Delphi

Function TPDFlib.SetAutoCreateWebLinks(Enable: Integer): Integer;

Parameters

Enable1 enables automatic links; 0 disables them

Return values

Returns the previous state: 1 when enabled before the call, otherwise 0

Remarks

Use this wrapper when the Delphi class API is preferred over assembling the lower-level PDF objects manually

See also

GetAutoCreateWebLinks, DrawText, AddLinkToWeb