Cell

ภาพรวม

Cell เป็นคลาสใน Aspose.PDF FOSS สำหรับ C++.

คลาสนี้ให้บริการ 27 เมธอดสำหรับทำงานกับอ็อบเจกต์ Cell ในโปรแกรม C++ เมธอดที่มีให้รวมถึง: Alignment, BackgroundColor, BackgroundImage, BackgroundImageFile, Border, ColSpan, DefaultCellTextState, IsNoBorder, IsOverrideByFragment, IsWordWrapped, Margin, RowSpan และเมธอดเพิ่มเติมอีก 2 รายการ สมาชิกสาธารณะทั้งหมดสามารถเข้าถึงได้จากแอปพลิเคชัน C++ ใด ๆ หลังจากติดตั้งแพ็กเกจ Aspose.PDF FOSS สำหรับ C++.

วิธีการ

ลายเซ็นคำอธิบาย
IsNoBorder() → boolคืนค่า true หากไม่มีการตั้งขอบ.
IsNoBorder(value: bool)เรียก IsNoBorder(value) บนอินสแตนซ์ Cell นี้.
Margin() → MarginInfoเรียก Margin บนอินสแตนซ์ Cell นี้.
Margin(value: MarginInfo)เรียก Margin(value) บนอินสแตนซ์ Cell นี้.
Border() → BorderInfoเรียก Border บนอินสแตนซ์ Cell นี้.
Border(value: BorderInfo)เรียก Border(value) บนอินสแตนซ์ Cell นี้.
BackgroundColor() → Aspose::Pdf::Colorเรียก BackgroundColor บนอินสแตนซ์ Cell นี้.
BackgroundColor(value: Aspose::Pdf::Color)เรียก BackgroundColor(value) บนอินสแตนซ์ Cell นี้.
BackgroundImageFile() → std::stringเรียก BackgroundImageFile บนอินสแทนซ์ Cell นี้.
BackgroundImageFile(value: std::string)เรียก BackgroundImageFile(value) บนอินสแทนซ์ Cell นี้.
BackgroundImage() → std::vector<std::byte>เรียก BackgroundImage บนอินสแทนซ์ Cell นี้.
BackgroundImage(value: std::vector<std::byte>)เรียก BackgroundImage(value) บนอินสแทนซ์ Cell นี้.
Alignment() → HorizontalAlignmentเรียก Alignment บนอินสแตนซ์ Cell นี้.
Alignment(value: HorizontalAlignment)เรียก Alignment(value) บนอินสแตนซ์ Cell นี้.
DefaultCellTextState() → Aspose::Pdf::Text::TextStateเรียก DefaultCellTextState บนอินสแตนซ์ Cell นี้.
DefaultCellTextState(value: Aspose::Pdf::Text::TextState)เรียก DefaultCellTextState(value) บนอินสแตนซ์ Cell นี้.
IsOverrideByFragment() → boolคืนค่า true หาก override โดย fragment ถูกตั้งค่า.
IsOverrideByFragment(value: bool)เรียก IsOverrideByFragment(value) บนอินสแตนซ์ Cell นี้.
IsWordWrapped() → boolคืนค่า true หาก word wrapped ถูกตั้งค่า.
IsWordWrapped(value: bool)เรียก IsWordWrapped(value) บนอินสแตนซ์ Cell นี้.
VerticalAlignment() → Aspose::Pdf::VerticalAlignmentเรียก VerticalAlignment บนอินสแตนซ์ Cell นี้.
VerticalAlignment(value: Aspose::Pdf::VerticalAlignment)เรียก VerticalAlignment(value) บนอินสแตนซ์ Cell นี้.
ColSpan() → intเรียก ColSpan บนอินสแตนซ์ Cell นี้.
ColSpan(value: int)เรียก ColSpan(value) บนอินสแตนซ์ Cell นี้.
RowSpan() → intเรียก RowSpan บนอินสแตนซ์ Cell นี้.
RowSpan(value: int)เรียก RowSpan(value) บนอินสแตนซ์ Cell นี้.
Width() → doubleเรียก Width บนอินสแตนซ์ Cell นี้.

ดูเพิ่มเติม

 ภาษาไทย