SetTransparency

Vector graphics, Text, Page layout

Description

Sets the same fill and stroke transparency for all subsequently drawn text and graphics. Use SetTransparencyEx when fill and stroke need different transparency values

Syntax

Delphi

Function TPDFlib.SetTransparency(Transparency: Integer): Integer;

ActiveX

Function PDFlib::SetTransparency(Transparency As Long) As Long

DLL

int DLSetTransparency(int InstanceID, int Transparency);

Parameters

TransparencyThe amount of transparency to apply 0 = No transparency 50 = 50% transparency 100 = Invisible

Return values

0The transparency specified was out of range
1The transparency was set successfully