Cell
概述
Cell 是 Aspose.PDF 为 C++ 提供的 FOSS 中的一个类。
此类提供了27个用于在 C++ 程序中操作 Cell 对象的方法。可用的方法包括:Alignment、BackgroundColor、BackgroundImage、BackgroundImageFile、Border、ColSpan、DefaultCellTextState、IsNoBorder、IsOverrideByFragment、IsWordWrapped、Margin、RowSpan,以及另外 2 个方法。所有公共成员在安装 Aspose.PDF 为 C++ 提供的 FOSS 包后,对任何 C++ 应用程序均可访问。
方法
| 签名 | 描述 |
|---|---|
IsNoBorder() → bool | 如果未设置边框,则返回 true。 |
IsNoBorder(value: bool) | 在此 Cell 实例上调用 IsNoBorder(value)。 |
Margin() → MarginInfo | 在此 Cell 实例上调用 Margin。 |
Margin(value: MarginInfo) | 在此 Cell 实例上调用 Margin(value)。 |
Border() → BorderInfo | 在此 Cell 实例上调用 Border。 |
Border(value: BorderInfo) | 在此 Cell 实例上调用 Border(value)。 |
BackgroundColor() → Aspose::Pdf::Color | 在此 Cell 实例上调用 BackgroundColor。 |
BackgroundColor(value: Aspose::Pdf::Color) | 在此 Cell 实例上调用 BackgroundColor(value)。 |
BackgroundImageFile() → std::string | 在此 Cell 实例上调用 BackgroundImageFile。 |
BackgroundImageFile(value: std::string) | 在此 Cell 实例上调用 BackgroundImageFile(value)。 |
BackgroundImage() → std::vector<std::byte> | 在此 Cell 实例上调用 BackgroundImage。 |
BackgroundImage(value: std::vector<std::byte>) | 在此 Cell 实例上调用 BackgroundImage(value)。 |
Alignment() → HorizontalAlignment | 在此 Cell 实例上调用 Alignment。 |
Alignment(value: HorizontalAlignment) | 在此 Cell 实例上调用 Alignment(value)。 |
DefaultCellTextState() → Aspose::Pdf::Text::TextState | 在此 Cell 实例上调用 DefaultCellTextState。 |
DefaultCellTextState(value: Aspose::Pdf::Text::TextState) | 在此 Cell 实例上调用 DefaultCellTextState(value)。 |
IsOverrideByFragment() → bool | 如果已设置 fragment 覆盖,则返回 true。 |
IsOverrideByFragment(value: bool) | 在此 Cell 实例上调用 IsOverrideByFragment(value)。 |
IsWordWrapped() → bool | 如果已设置 word wrapped,则返回 true。 |
IsWordWrapped(value: bool) | 在此 Cell 实例上调用 IsWordWrapped(value)。 |
VerticalAlignment() → Aspose::Pdf::VerticalAlignment | 在此 Cell 实例上调用 VerticalAlignment。 |
VerticalAlignment(value: Aspose::Pdf::VerticalAlignment) | 在此 Cell 实例上调用 VerticalAlignment(value)。 |
ColSpan() → int | 在此 Cell 实例上调用 ColSpan。 |
ColSpan(value: int) | 在此 Cell 实例上调用 ColSpan(value)。 |
RowSpan() → int | 在此 Cell 实例上调用 RowSpan。 |
RowSpan(value: int) | 在此 Cell 实例上调用 RowSpan(value)。 |
Width() → double | 在此 Cell 实例上调用 Width。 |