طريقة add

add(self, upper_left_row, upper_left_column, height, width)

إضافة مربع نص إلى المجموعة.

عائدات

TextBox فهرس الكائن.


def add(self, upper_left_row, upper_left_column, height, width):
    ...
معامليكتبوصف
upper_left_rowintمؤشر الصف العلوي الأيسر.
upper_left_columnintفهرس العمود العلوي الأيسر.
heightintارتفاع مربع النص، بوحدة البكسل.
widthintعرض مربع النص، بوحدة البكسل.

مثال


# add a TextBox
index2 = textBoxCollection.add(1, 1, 50, 100)

أنظر أيضا