html_text عقار

html_text عقار

يحصل على سلسلة HTML التي تحتوي على البيانات وبعض التنسيقات في مربع النص هذا ويقوم بتعيينها.

مثال


html = shape.html_text
if html == null  or html == "":
    shape.html_text = "<Font Style='FONT-FAMILY: Calibri;FONT-SIZE: 11pt;COLOR: #0000ff;TEXT-ALIGN: left;'>This is a <b>test</b>.</Font>"

تعريف:

@property
def html_text(self):
    ...
@html_text.setter
def html_text(self, value):
    ...

أنظر أيضا