SetTransparency

Vector graphics, Text, Page layout

Description

Sets the transparency for all subsequently drawn text and graphics.

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