MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / set_attribute

Method set_attribute

src/__init__.py:2491–2493  ·  view source on GitHub ↗
( self, key, value)

Source from the content-addressed store, hash-verified

2489 return self
2490
2491 def set_attribute( self, key, value):
2492 assert key
2493 mupdf.fz_dom_add_attribute( self.this, key, value)
2494
2495 def set_bgcolor(self, color):
2496 """Set background color via CSS style"""

Callers 8

add_classMethod · 0.95
add_styleMethod · 0.95
set_idMethod · 0.95
set_propertiesMethod · 0.95
add_imageMethod · 0.80
add_linkMethod · 0.80
add_number_listMethod · 0.80
add_header_idsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected