SetTextTilingPatternA

Vector graphics, Path definition and drawing, Color

Description

The trailing A denotes the ANSI (char) DLL entry point; the ActiveX/COM surface exposes only the Unicode form. Behaviour is identical to SetTextTilingPattern and string arguments are interpreted using the current SetAnsiMode code page

Sets the current text color and underline color to the specified tiling pattern for subsequently drawn text

Syntax

Delphi

Function DLSetTextTilingPatternA(InstanceID: Integer; PatternName: PAnsiChar): Integer;

DLL

int DLSetTextTilingPatternA(int InstanceID, const char * PatternName);

Parameters

PatternNameThe pattern name that was used with the NewTilingPatternFromCapturedPage function

Return values

0The PatternName parameter was invalid
1Success