PictureCollection

PictureCollection

अवलोकन

PictureCollection Aspose.Cells FOSS for Rust में एक struct है।

एक वर्कशीट से जुड़ी तस्वीरों के संग्रह को दर्शाता है।

यह struct Rust प्रोग्रामों में PictureCollection ऑब्जेक्ट्स के लिए 10 मेथड्स घोषित करता है। उपलब्ध मेथड्स में शामिल हैं: add, add_from_bytes, add_from_file, add_from_reader, clear, count, get, get_count, item, remove_at. सार्वजनिक सदस्य Aspose.Cells FOSS for Rust पैकेज को इंस्टॉल करने के बाद किसी भी Rust एप्लिकेशन के लिए उपलब्ध होते हैं।

विधियाँ

हस्ताक्षरविवरण
count() → usizeआइटम्स की संख्या प्राप्त करता है।
get_count() → usizeआइटमों की संख्या प्राप्त करता है।
add(upper_left_row: i32, upper_left_column: i32, lower_right_row: i32, lower_right_column: i32, image_data: Vec<u8>) → Result<usize, CellsError>फ़ाइल पथ से वर्कशीट में एक चित्र जोड़ता है और उसका सूचकांक लौटाता है।
add_from_bytes(upper_left_row: i32, upper_left_column: i32, lower_right_row: i32, lower_right_column: i32, image_data: &[u8]) → Result<usize, CellsError>एक आइटम जोड़ता है।
add_from_reader(upper_left_row: i32, upper_left_column: i32, lower_right_row: i32, lower_right_column: i32, reader: R) → Result<usize, CellsError>रीडर से एक चित्र जोड़ता है और उसका शून्य-आधारित सूचकांक लौटाता है।
add_from_file(upper_left_row: i32, upper_left_column: i32, lower_right_row: i32, lower_right_column: i32, path: impl AsRef<Path>) → Result<usize, CellsError>एक आइटम जोड़ता है।
get(index: usize) → Option<Picture<'_>>संग्रह से आइटम प्राप्त करता है।
item(index: usize) → Option<Picture<'_>>संग्रह से आइटम प्राप्त करता है।
remove_at(index: usize) → Result<(), CellsError>एक आइटम हटाता है।
clear()वर्तमान स्थिति को साफ़ करता है।

यह भी देखें

 हिन्दी