Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Sets alpha for drawings.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
DynaPDF | 3.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
The PDF reference returned from DynaPDF.New. | ||
FillAlpha | The new alpha between 0.0 and 1.0. Value of -1 will not change fill alpha. | 0.5 |
StrokeAlpha | The new alpha between 0.0 and 1.0. Value of -1 will not change stroke alpha. | 0.5 |
Returns OK or error message.
Make all drawings 50% transparent:
MBS( "DynaPDF.SetAlpha"; $PDF; 0.5; 0.5 )
Make just lines 50% transparent and don't change fill transparency:
MBS( "DynaPDF.SetAlpha"; $PDF; -1; 0.5 )
Make fill transparency 50%, so images draw half transparent:
MBS( "DynaPDF.SetAlpha"; $PDF; 0.5; -1 )
Created 18th August 2014, last changed 27th July 2018
DynaPDF.ScaleCoords - DynaPDF.SetAnnotBorderStyle
Feedback: Report problem or ask question.