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。

另请参阅

 中文