to_argb method

On this page

to_argb

Gets the 32-bit ARGB value of this Color structure.

def to_argb(self):
    ...

Returns: int: The 32-bit ARGB value of this Color structure.

Example

from groupdocs.watermark import Watermarker
from groupdocs.watermark.contents.diagram import DiagramContent

with Watermarker("diagram.vsdx") as watermarker:
    content = watermarker.get_content(DiagramContent)
    argb = content.header_footer.text_color.to_argb()
    print(argb)

See Also

On this page