ICell

ICell class

Represents a cell in a table.

class ICell : public Aspose::Slides::ISlideComponent

Methods

MethodDescription
virtual bool Equals(ptr)Compares objects using C# Object.Equals semantics.
static std::enable_if<IsSmartPtr<T1>::value&&IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares reference type objects in C# style.
static std::enable_if<!IsSmartPtr<T1>::value&&!IsSmartPtr<T2>::value, bool>::type Equals(T1 const&, T2 const&)Compares value type objects in C# style.
static bool Equals(float const&, float const&)Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
static bool Equals(double const&, double const&)Emulates C#-style floating point comparison where two NaNs are considered equal even though according to IEC 60559:1989 NaN is not equal to any value, including NaN.
virtual bool FastCast(const Details::FastRttiBase&, void **) constFor internal purposes only.
virtual bool get_AnchorCenter()Determines whether or not text box centered inside a cell. Read bool.
virtual System::SharedPtr<ICellFormat> get_CellFormat()Returns the CellFormat object that contains formatting properties for this cell. Read-only ICellFormat.
virtual int32_t get_ColSpan()Returns the number of grid columns in the parent table’s table grid which shall be spanned by the current cell. This property allows cells to have the appearance of being merged, as they span vertical boundaries of other cells in the table. Read-only int32_t.
virtual System::SharedPtr<IColumn> get_FirstColumn()Gets first column of cell. Read-only IColumn.
virtual int32_t get_FirstColumnIndex()Returns an index of first column, covered by the cell. Read-only int32_t.
virtual System::SharedPtr<IRow> get_FirstRow()Gets first row of cell. Read-only IRow.
virtual int32_t get_FirstRowIndex()Returns an index of first row, covered by the cell. Read-only int32_t.
virtual double get_Height()Returns the height of the cell. Read-only double.
virtual bool get_IsMergedCell()Returns true if the cell is merged with any adjusted cell, false otherwise. Read-only bool.
virtual double get_MarginBottom()Returns the bottom margin in a TextFrame. Read double.
virtual double get_MarginLeft()Returns the left margin in a TextFrame. Read double.
virtual double get_MarginRight()Returns the right margin in a TextFrame. Read double.
virtual double get_MarginTop()Returns the top margin in a TextFrame. Read double.
virtual double get_MinimalHeight()Returns the minimum height of a cell. This is a sum of minimal heights of all rows cowered by the cell. Read-only double.
virtual double get_OffsetX()Returns a distance from left side of a table to left side of a cell. Read-only double.
virtual double get_OffsetY()Returns a distance from top side of a table to top side of a cell. Read-only double.
virtual System::SharedPtr<IPresentation> get_Presentation()Returns the presentation. Read-only IPresentation.
virtual int32_t get_RowSpan()Returns the number of rows that a merged cell spans. This is used in combination with the vMerge attribute on other cells in order to specify the beginning cell of a horizontal merge. Read-only int32_t.
virtual System::SharedPtr<IBaseSlide> get_Slide()Returns the base slide. Read-only IBaseSlide.
virtual System::SharedPtr<ITable> get_Table()Returns the parent Table object for a cell. Read-only ITable.
virtual Aspose::Slides::TextAnchorType get_TextAnchorType()Returns the text anchor type. Read Slides::TextAnchorType.
virtual System::SharedPtr<ITextFrame> get_TextFrame()Returns the text frame of a cell. Read-only ITextFrame.
virtual Aspose::Slides::TextVerticalType get_TextVerticalType()Returns the type of vertical text. Read Slides::TextVerticalType.
virtual double get_Width()Returns the width of the cell. Read-only double.
Detail::SmartPtrCounter * GetCounter()Gets reference counter data structure associated with the object.
virtual int32_t GetHashCode() constAnalog of C# Object.GetHashCode() method. Enables hashing of custom objects.
virtual const TypeInfo& GetType() constGets actual type of object. Analog of C# System.Object.GetType() call.
virtual bool Is(const TypeInfo&) constCheck if object represents an instance of type described by targetType. Analog of C# ‘is’ operator.
void Lock()Implements C# lock() statement locking. Call directly or use LockContext sentry object.
virtual ptr MemberwiseClone() constAnalog of C# Object.MemberwiseClone() method. Enables cloning custom types.
Object()Creates object. Initializes all internal data structures.
Object(Object const&)Copy constructor. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
Object& operator=(Object const&)Assignment operator. Doesn’t copy anything, really, just initializes new object and enables copy constructing subclasses.
static bool ReferenceEquals(ptr const&, ptr const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, T const&)Compares objects by reference.
static std::enable_if<!IsSmartPtr<T>::value, bool>::type ReferenceEquals(T const&, std::nullptr_t)Reference-compares value type object with nullptr.
bool ReferenceEquals(String const&, std::nullptr_t)Specialization of Object::ReferenceEquals for case of string and nullptr.
bool ReferenceEquals(String const&, String const&)Specialization of Object::ReferenceEquals for case of strings.
int RemovedSharedRefs(int)Decreases shared reference count by specified value.
virtual void set_AnchorCenter(bool)Determines whether or not text box centered inside a cell. Write bool.
virtual void set_MarginBottom(double)Sets the bottom margin in a TextFrame. Write double.
virtual void set_MarginLeft(double)Sets the left margin in a TextFrame. Write double.
virtual void set_MarginRight(double)Sets the right margin in a TextFrame. Write double.
virtual void set_MarginTop(double)Sets the top margin in a TextFrame. Write double.
virtual void set_TextAnchorType(Aspose::Slides::TextAnchorType)Sets the text anchor type. Write Slides::TextAnchorType.
virtual void set_TextVerticalType(Aspose::Slides::TextVerticalType)Sets the type of vertical text. Write Slides::TextVerticalType.
virtual void SetTemplateWeakPtr(uint32_t)Set n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
int SharedCount() constGets current value of shared reference counter.
Object * SharedRefAdded()Increments shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
int SharedRefRemovedSafe()Decrements and returns shared reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
virtual void SplitByColSpan(int32_t)Splits the cell to two cells by index of column.
virtual void SplitByHeight(double)Splits the cell by height.
virtual void SplitByRowSpan(int32_t)Splits the cell to two cells by index of row.
virtual void SplitByWidth(double)Splits the cell by width.
virtual String ToString() constAnalog of C# Object.ToString() method. Enables converting custom objects to string.
static const TypeInfo& Type()Implements C# typeof(System.Object) construct.
void Unlock()Implements C# lock() statement unlocking. Call directly or use LockContext sentry object.
Detail::SmartPtrCounter * WeakRefAdded()Increments weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
void WeakRefRemoved()Decrements weak reference count. Shouldn’t be called directly; instead, use smart pointers or ThisProtector.
virtual ~Object()Destroys object. Frees all internal data structures.

See Also