 | PdfPageObjectGetOpacity Method |
Gets the opacity level of the page object.
Namespace: Patagames.Pdf.NetAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 5.1.3
Syntaxpublic float GetOpacity(
bool isStroke
)
Public Function GetOpacity (
isStroke As Boolean
) As Single
public:
float GetOpacity(
bool isStroke
)
member GetOpacity :
isStroke : bool -> float32 public float GetOpacity(
boolean isStroke
)
function GetOpacity(isStroke);
Parameters
- isStroke Boolean
- Flag indicating whether to get opacity for the stroke (true) or for the fill (false).
Return Value
SingleThe level of opacity for the page object. 0 - transparent; 1 - opaque.
See Also