Aspose::Cells::Drawing::ITextBox Class Reference

Encapsulates the object that represents a textbox in a spreadsheet. More...

Inherits Aspose::Cells::Drawing::IShape.

Additional Inherited Members

- Public Member Functions inherited from Aspose::Cells::Drawing::IShape
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetMacroName ()=0
 Gets the name of macro. More...
 
virtual void SetMacroName (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the name of macro. More...
 
virtual bool IsEquation ()=0
 Indicates whether the shape only contains an equation. More...
 
virtual bool IsSmartArt ()=0
 Indicates whether the shape is smart art. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IGroupShapeGetIGroupShapeResult ()=0
 Converting smart art to grouped shapes. More...
 
virtual void ToFrontOrBack (Aspose::Cells::Systems::Int32 orders)=0
 Brings the shape to the front or sends the shape to back. More...
 
virtual Aspose::Cells::Systems::Int32 GetZOrderPosition ()=0
 Returns the position of a shape in the z-order. More...
 
virtual void SetZOrderPosition (Aspose::Cells::Systems::Int32 value)=0
 Returns the position of a shape in the z-order. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetName ()=0
 Gets the name of the shape. More...
 
virtual void SetName (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the name of the shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetAlternativeText ()=0
 Returns or sets the descriptive (alternative) text string of the IShape object. More...
 
virtual void SetAlternativeText (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Returns or sets the descriptive (alternative) text string of the IShape object. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetTitle ()=0
 Specifies the title (caption) of the current shape object. More...
 
virtual void SetTitle (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Specifies the title (caption) of the current shape object. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IMsoLineFormatGetIMsoLineFormat ()=0
 Returns a MsoLineFormat object that contains line formatting properties for the specified shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IMsoFillFormatGetIMsoFillFormat ()=0
 Returns a MsoFillFormat object that contains fill formatting properties for the specified shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::ILineFormatGetILineFormat ()=0
 Gets line style More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IFillFormatGetIFillFormat ()=0
 Returns a FillFormat object that contains fill formatting properties for the specified shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IShadowEffectGetIShadowEffect ()=0
 Represents a
See also
IShadowEffect

object that specifies shadow effect for the chart element or shape. More...

 
virtual Aspose::Cells::Systems::Double GetSoftEdges ()=0
 Gets the radius of blur to apply to the edges, in unit of points. More...
 
virtual void SetSoftEdges (Aspose::Cells::Systems::Double value)=0
 Sets the radius of blur to apply to the edges, in unit of points. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IMsoTextFrameGetIMsoTextFrame ()=0
 Returns a TextFrame object that contains the alignment and anchoring properties for the specified shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IMsoFormatPictureGetIMsoFormatPicture ()=0
 Gets the options of the picture format. More...
 
virtual bool IsHidden ()=0
 Indicates whether the object is visible. More...
 
virtual void SetHidden (bool value)=0
 Indicates whether the object is visible. More...
 
virtual bool IsLockAspectRatio ()=0
 True means that don't allow changes in aspect ratio. More...
 
virtual void SetLockAspectRatio (bool value)=0
 True means that don't allow changes in aspect ratio. More...
 
virtual bool GetLockedProperty (Aspose::Cells::Drawing::ShapeLockType type)=0
 Gets the value of locked property. More...
 
virtual void SetLockedProperty (Aspose::Cells::Drawing::ShapeLockType type, bool value)=0
 Set the locked property. More...
 
virtual Aspose::Cells::Systems::Double GetRotationAngle ()=0
 Gets the rotation of the shape. More...
 
virtual void SetRotationAngle (Aspose::Cells::Systems::Double value)=0
 Sets the rotation of the shape. More...
 
virtual intrusive_ptr< Aspose::Cells::IHyperlinkAddIHyperlink (intrusive_ptr< Aspose::Cells::Systems::String > address)=0
 Adds a hyperlink to the shape. More...
 
virtual void RemoveHyperlink ()=0
 Remove the hyperlink of the shape. More...
 
virtual intrusive_ptr< Aspose::Cells::IHyperlinkGetIHyperlink ()=0
 Gets the hyperlink of the shape. More...
 
virtual void MoveToRange (Aspose::Cells::Systems::Int32 upperLeftRow, Aspose::Cells::Systems::Int32 upperLeftColumn, Aspose::Cells::Systems::Int32 lowerRightRow, Aspose::Cells::Systems::Int32 lowerRightColumn)=0
 Moves the shape to a specified range. More...
 
virtual void AlignTopRightCorner (Aspose::Cells::Systems::Int32 topRow, Aspose::Cells::Systems::Int32 rightColumn)=0
 Moves the picture to the top-right corner. More...
 
virtual Aspose::Cells::Systems::Int32 GetId ()=0
 Gets the identifier of this shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetSpid ()=0
 Specifies an optional string that an application can use to Identify the particular shape. More...
 
virtual Aspose::Cells::Systems::Int32 GetSpt ()=0
 Specifies an optional number that an application can use to associate the particular shape with a defined shape type.
More...
 
virtual intrusive_ptr< Aspose::Cells::IWorksheetGetIWorksheet ()=0
 Gets the IWorksheet object which contains this shape. More...
 
virtual bool IsGroup ()=0
 Indicates whether the shape is a group. More...
 
virtual bool IsInGroup ()=0
 Indicates whether the shape is grouped. More...
 
virtual bool IsWordArt ()=0
 Indicates whether this shape is a word art. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::ITextEffectFormatGetITextEffectFormat ()=0
 Returns a TextEffectFormat object that contains text-effect formatting properties for the specified shape. Applies to Shape objects that represent WordArt. More...
 
virtual bool IsLocked ()=0
 True if the object is locked, False if the object can be modified when the sheet is protected. More...
 
virtual void SetLocked (bool value)=0
 True if the object is locked, False if the object can be modified when the sheet is protected. More...
 
virtual bool IsPrintable ()=0
 True if the object is printable More...
 
virtual void SetPrintable (bool value)=0
 True if the object is printable More...
 
virtual Aspose::Cells::Drawing::MsoDrawingType GetMsoDrawingType ()=0
 Gets mso drawing type. More...
 
virtual Aspose::Cells::Drawing::AutoShapeType GetAutoShapeType ()=0
 Gets the auto shape type. More...
 
virtual void SetAutoShapeType (Aspose::Cells::Drawing::AutoShapeType value)=0
 Gets the auto shape type. More...
 
virtual Aspose::Cells::Drawing::ShapeAnchorType GetAnchorType ()=0
 Gets the shape anchor placeholder. More...
 
virtual void SetAnchorType (Aspose::Cells::Drawing::ShapeAnchorType value)=0
 Sets the shape anchor placeholder. More...
 
virtual Aspose::Cells::Drawing::PlacementType GetPlacement ()=0
 Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet. More...
 
virtual void SetPlacement (Aspose::Cells::Drawing::PlacementType value)=0
 Represents the way the drawing object is attached to the cells below it. The property controls the placement of an object on a worksheet. More...
 
virtual Aspose::Cells::Systems::Int32 GetUpperLeftRow ()=0
 Represents upper left corner row index. More...
 
virtual void SetUpperLeftRow (Aspose::Cells::Systems::Int32 value)=0
 Represents upper left corner row index. More...
 
virtual Aspose::Cells::Systems::Int32 GetUpperDeltaY ()=0
 Gets the shape's vertical offset from its upper left corner row. More...
 
virtual void SetUpperDeltaY (Aspose::Cells::Systems::Int32 value)=0
 Sets the shape's vertical offset from its upper left corner row. More...
 
virtual Aspose::Cells::Systems::Int32 GetUpperLeftColumn ()=0
 Represents upper left corner column index. More...
 
virtual void SetUpperLeftColumn (Aspose::Cells::Systems::Int32 value)=0
 Represents upper left corner column index. More...
 
virtual Aspose::Cells::Systems::Int32 GetUpperDeltaX ()=0
 Gets the shape's horizontal offset from its upper left corner column. More...
 
virtual void SetUpperDeltaX (Aspose::Cells::Systems::Int32 value)=0
 Sets the shape's horizontal offset from its upper left corner column. More...
 
virtual Aspose::Cells::Systems::Int32 GetLowerRightRow ()=0
 Represents lower right corner row index. More...
 
virtual void SetLowerRightRow (Aspose::Cells::Systems::Int32 value)=0
 Represents lower right corner row index. More...
 
virtual Aspose::Cells::Systems::Int32 GetLowerDeltaY ()=0
 Gets the shape's vertical offset from its lower right corner row. More...
 
virtual void SetLowerDeltaY (Aspose::Cells::Systems::Int32 value)=0
 Sets the shape's vertical offset from its lower right corner row. More...
 
virtual Aspose::Cells::Systems::Int32 GetLowerRightColumn ()=0
 Represents lower right corner column index. More...
 
virtual void SetLowerRightColumn (Aspose::Cells::Systems::Int32 value)=0
 Represents lower right corner column index. More...
 
virtual Aspose::Cells::Systems::Int32 GetLowerDeltaX ()=0
 Gets the shape's horizontal offset from its lower right corner column. More...
 
virtual void SetLowerDeltaX (Aspose::Cells::Systems::Int32 value)=0
 Gets the shape's horizontal offset from its lower right corner column. More...
 
virtual Aspose::Cells::Systems::Int32 GetRight ()=0
 Represents the width of the shape's horizontal offset from its lower right corner column, in unit of pixels. More...
 
virtual void SetRight (Aspose::Cells::Systems::Int32 value)=0
 Represents the width of the shape's horizontal offset from its lower right corner column, in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Int32 GetBottom ()=0
 Represents the width of the shape's vertical offset from its lower bottom corner row, in unit of pixels. More...
 
virtual void SetBottom (Aspose::Cells::Systems::Int32 value)=0
 Represents the width of the shape's vertical offset from its lower bottom corner row, in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Int32 GetWidth ()=0
 Represents the width of shape, in unit of pixels. More...
 
virtual void SetWidth (Aspose::Cells::Systems::Int32 value)=0
 Represents the width of shape, in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Double GetWidthInch ()=0
 Represents the width of the shape, in unit of inch. More...
 
virtual void SetWidthInch (Aspose::Cells::Systems::Double value)=0
 Represents the width of the shape, in unit of inch. More...
 
virtual Aspose::Cells::Systems::Double GetWidthPt ()=0
 Represents the width of the shape, in unit of point. More...
 
virtual void SetWidthPt (Aspose::Cells::Systems::Double value)=0
 Represents the width of the shape, in unit of point. More...
 
virtual Aspose::Cells::Systems::Double GetWidthCM ()=0
 Represents the width of the shape, in unit of centimeters. More...
 
virtual void SetWidthCM (Aspose::Cells::Systems::Double value)=0
 Represents the width of the shape, in unit of centimeters. More...
 
virtual Aspose::Cells::Systems::Int32 GetHeight ()=0
 Represents the height of shape, in unit of pixel. More...
 
virtual void SetHeight (Aspose::Cells::Systems::Int32 value)=0
 Represents the height of shape, in unit of pixel. More...
 
virtual Aspose::Cells::Systems::Double GetHeightInch ()=0
 Represents the height of the shape, in unit of inches. More...
 
virtual void SetHeightInch (Aspose::Cells::Systems::Double value)=0
 Represents the height of the shape, in unit of inches. More...
 
virtual Aspose::Cells::Systems::Double GetHeightPt ()=0
 Represents the height of the shape, in unit of points. More...
 
virtual void SetHeightPt (Aspose::Cells::Systems::Double value)=0
 Represents the height of the shape, in unit of points. More...
 
virtual Aspose::Cells::Systems::Double GetHeightCM ()=0
 Represents the height of the shape, in unit of inches. More...
 
virtual void SetHeightCM (Aspose::Cells::Systems::Double value)=0
 Represents the height of the shape, in unit of inches. More...
 
virtual Aspose::Cells::Systems::Int32 GetLeft ()=0
 Represents the horizontal offset of shape from its left column, in unit of pixels. More...
 
virtual void SetLeft (Aspose::Cells::Systems::Int32 value)=0
 Represents the horizontal offset of shape from its left column, in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Double GetLeftInch ()=0
 Represents the horizontal offset of shape from its left column, in unit of inches. More...
 
virtual void SetLeftInch (Aspose::Cells::Systems::Double value)=0
 Represents the horizontal offset of shape from its left column, in unit of inches. More...
 
virtual Aspose::Cells::Systems::Double GetLeftCM ()=0
 Represents the horizontal offset of shape from its left column, in unit of centimeters. More...
 
virtual void SetLeftCM (Aspose::Cells::Systems::Double value)=0
 Represents the horizontal offset of shape from its left column, in unit of centimeters. More...
 
virtual Aspose::Cells::Systems::Int32 GetTop ()=0
 Represents the vertical offset of shape from its top row, in unit of pixels. More...
 
virtual void SetTop (Aspose::Cells::Systems::Int32 value)=0
 Represents the vertical offset of shape from its top row, in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Double GetTopInch ()=0
 Represents the vertical offset of shape from its top row, in unit of inches. More...
 
virtual void SetTopInch (Aspose::Cells::Systems::Double value)=0
 Represents the vertical offset of shape from its top row, in unit of inches. More...
 
virtual Aspose::Cells::Systems::Double GetTopCM ()=0
 Represents the vertical offset of shape from its top row, in unit of centimeters. More...
 
virtual void SetTopCM (Aspose::Cells::Systems::Double value)=0
 Represents the vertical offset of shape from its top row, in unit of centimeters. More...
 
virtual Aspose::Cells::Systems::Int32 GetTopToCorner ()=0
 Gets and sets the vertical offset of shape from worksheet top boder,in unit of pixel More...
 
virtual void SetTopToCorner (Aspose::Cells::Systems::Int32 value)=0
 Gets and sets the vertical offset of shape from worksheet top boder,in unit of pixel More...
 
virtual Aspose::Cells::Systems::Int32 GetLeftToCorner ()=0
 Gets the horizonal offset of shape from worksheet left border. More...
 
virtual void SetLeftToCorner (Aspose::Cells::Systems::Int32 value)=0
 Sets the horizonal offset of shape from worksheet left border. More...
 
virtual Aspose::Cells::Systems::Int32 GetX ()=0
 Gets the horizontal offset of shape from worksheet left border,in unit of pixels. More...
 
virtual void SetX (Aspose::Cells::Systems::Int32 value)=0
 Sets the horizontal offset of shape from worksheet left border,in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Int32 GetY ()=0
 Gets the vertical offset of shape from worksheet top border,in unit of pixels. More...
 
virtual void SetY (Aspose::Cells::Systems::Int32 value)=0
 Sets the vertical offset of shape from worksheet top border,in unit of pixels. More...
 
virtual Aspose::Cells::Systems::Int32 GetWidthScale ()=0
 Gets the width scale, in unit of percent of the original picture width. If the shape is not picture ,the WidthScale property only returns 100; More...
 
virtual void SetWidthScale (Aspose::Cells::Systems::Int32 value)=0
 Sets the width scale, in unit of percent of the original picture width. If the shape is not picture ,the WidthScale property only returns 100; More...
 
virtual Aspose::Cells::Systems::Int32 GetHeightScale ()=0
 Gets the height scale,in unit of percent of the original picture height. If the shape is not picture ,the HeightScale property only returns 100; More...
 
virtual void SetHeightScale (Aspose::Cells::Systems::Int32 value)=0
 Sets the height scale,in unit of percent of the original picture height. If the shape is not picture ,the HeightScale property only returns 100; More...
 
virtual Aspose::Cells::Systems::Int32 GetTopInShape ()=0
 Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape. More...
 
virtual void SetTopInShape (Aspose::Cells::Systems::Int32 value)=0
 Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape. More...
 
virtual Aspose::Cells::Systems::Int32 GetLeftInShape ()=0
 Represents the horizontal offset of shape from the left border of the parent shape, in unit of 1/4000 of width of the parent shape. More...
 
virtual void SetLeftInShape (Aspose::Cells::Systems::Int32 value)=0
 Represents the horizontal offset of shape from the left border of the parent shape, in unit of 1/4000 of width of the parent shape. More...
 
virtual Aspose::Cells::Systems::Int32 GetWidthInShape ()=0
 Represents the width of the shape, in unit of 1/4000 of the parent shape. More...
 
virtual void SetWidthInShape (Aspose::Cells::Systems::Int32 value)=0
 Represents the width of the shape, in unit of 1/4000 of the parent shape. More...
 
virtual Aspose::Cells::Systems::Int32 GetHeightInShape ()=0
 Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape.. More...
 
virtual void SetHeightInShape (Aspose::Cells::Systems::Int32 value)=0
 Represents the vertical offset of shape from the top border of the parent shape, in unit of 1/4000 of height of the parent shape.. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IGroupShapeGetIGroupShape ()=0
 Gets the group shape which contains this shape. More...
 
virtual Aspose::Cells::Drawing::AutoShapeType GetType ()=0
 Gets the auto shape type. More...
 
virtual bool HasLine ()=0
 Gets and sets the line border of the shape is visible. More...
 
virtual void SetHasLine (bool value)=0
 Gets and sets the line border of the shape is visible. More...
 
virtual bool IsFilled ()=0
 Indicates whether the fill format is visible. More...
 
virtual void SetFilled (bool value)=0
 Indicates whether the fill format is visible. More...
 
virtual bool IsFlippedHorizontally ()=0
 Gets whether shape is horizontally flipped . More...
 
virtual void SetFlippedHorizontally (bool value)=0
 Sets whether shape is horizontally flipped . More...
 
virtual bool IsFlippedVertically ()=0
 Gets whether shape is vertically flipped . More...
 
virtual void SetFlippedVertically (bool value)=0
 Sets whether shape is vertically flipped . More...
 
virtual Aspose::Cells::Systems::Int32 GetActualLowerRightRow ()=0
 Get the actual bottom row. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array2D< Aspose::Cells::Systems::Single > > GetConnectionPoints ()=0
 Get the connection points More...
 
virtual void ToImage (intrusive_ptr< Aspose::Cells::Systems::IO::Stream > stream, intrusive_ptr< Aspose::Cells::Systems::Drawing::Imaging::ImageFormat > imageFormat)=0
 Creates the shape image and saves it to a stream in the specified format. More...
 
virtual void ToImage (intrusive_ptr< Aspose::Cells::Systems::IO::Stream > stream, Aspose::Cells::Drawing::ImageType imageType)=0
 Creates the shape image and saves it to a stream in the specified format. More...
 
virtual void ToImage (intrusive_ptr< Aspose::Cells::Systems::String > imageFile, intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions > options)=0
 Saves the shape to a file. More...
 
virtual void ToImage (intrusive_ptr< Aspose::Cells::Systems::IO::Stream > stream, intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions > options)=0
 Saves the shape to a stream. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Bitmap > ToImage (intrusive_ptr< Aspose::Cells::Rendering::IImageOrPrintOptions > options)=0
 Returns the bitmap object of the shape . More...
 
virtual bool GetRelativeToOriginalPictureSize ()=0
 Indicates whether shape is relative to original picture size. More...
 
virtual void SetRelativeToOriginalPictureSize (bool value)=0
 Indicates whether shape is relative to original picture size. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetLinkedCell ()=0
 Gets the worksheet range linked to the control's value. More...
 
virtual void SetLinkedCell (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the worksheet range linked to the control's value. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetInputRange ()=0
 Gets the worksheet range used to fill the specified combo box. More...
 
virtual void SetInputRange (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the worksheet range used to fill the specified combo box. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetLinkedCell (bool isR1C1, bool isLocal)=0
 Gets the range linked to the control's value. More...
 
virtual void SetLinkedCell (intrusive_ptr< Aspose::Cells::Systems::String > formula, bool isR1C1, bool isLocal)=0
 Sets the range linked to the control's value. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetInputRange (bool isR1C1, bool isLocal)=0
 Gets the range used to fill the control. More...
 
virtual void SetInputRange (intrusive_ptr< Aspose::Cells::Systems::String > formula, bool isR1C1, bool isLocal)=0
 Sets the range used to fill the control. More...
 
virtual void UpdateSelectedValue ()=0
 
virtual Aspose::Cells::Drawing::AutoShapeType GetTextShapeType ()=0
 Gets the preset text shape type. More...
 
virtual void SetTextShapeType (Aspose::Cells::Drawing::AutoShapeType value)=0
 Sets the preset text shape type. More...
 
virtual intrusive_ptr< Aspose::Cells::IFontGetIFont ()=0
 Represents the font of shape. More...
 
virtual void SetIFont (intrusive_ptr< Aspose::Cells::IFont > value)=0
 Represents the font of shape. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Int32 > > CalculateTextSize ()=0
 Recalculate the text area More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetText ()=0
 Represents the string in this TextBox object. More...
 
virtual void SetText (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Represents the string in this TextBox object. More...
 
virtual bool IsRichText ()=0
 Whether or not the text is rich text. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetHtmlText ()=0
 Gets the html string which contains data and some formats in this textbox. More...
 
virtual void SetHtmlText (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the html string which contains data and some formats in this textbox. More...
 
virtual void FormatCharactersByIFont (Aspose::Cells::Systems::Int32 startIndex, Aspose::Cells::Systems::Int32 length, intrusive_ptr< Aspose::Cells::IFont > font, intrusive_ptr< Aspose::Cells::IStyleFlag > flag)=0
 Format some chararcters with the font setting. More...
 
virtual void FormatCharactersByIFont (Aspose::Cells::Systems::Int32 startIndex, Aspose::Cells::Systems::Int32 length, intrusive_ptr< Aspose::Cells::IFont > font)=0
 Format some chararcters with the font setting. More...
 
virtual intrusive_ptr< Aspose::Cells::IFontSettingGetCharacters (Aspose::Cells::Systems::Int32 startIndex, Aspose::Cells::Systems::Int32 length)=0
 Returns a Characters object that represents a range of characters within the text. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Collections::ArrayList > GetCharacters ()=0
 Returns all Characters objects that represents a range of characters within the text . More...
 
virtual Aspose::Cells::Drawing::TextOverflowType GetTextVerticalOverflow ()=0
 Gets the text vertical overflow type of the shape which contains text. More...
 
virtual void SetTextVerticalOverflow (Aspose::Cells::Drawing::TextOverflowType value)=0
 Sets the text vertical overflow type of the shape which contains text. More...
 
virtual Aspose::Cells::Drawing::TextOverflowType GetTextHorizontalOverflow ()=0
 Gets the text horizontal overflow type of the shape which contains text. More...
 
virtual void SetTextHorizontalOverflow (Aspose::Cells::Drawing::TextOverflowType value)=0
 Sets the text horizontal overflow type of the shape which contains text. More...
 
virtual bool IsTextWrapped ()=0
 Gets the text wrapped type of the shape which contains text. More...
 
virtual void SetTextWrapped (bool value)=0
 Sets the text wrapped type of the shape which contains text. More...
 
virtual Aspose::Cells::TextOrientationType GetTextOrientationType ()=0
 Gets the text orientation type of the shape. More...
 
virtual void SetTextOrientationType (Aspose::Cells::TextOrientationType value)=0
 Sets the text orientation type of the shape. More...
 
virtual Aspose::Cells::TextAlignmentType GetTextHorizontalAlignment ()=0
 Gets the text horizontal alignment type of the shape. More...
 
virtual void SetTextHorizontalAlignment (Aspose::Cells::TextAlignmentType value)=0
 Sets the text horizontal alignment type of the shape. More...
 
virtual Aspose::Cells::TextAlignmentType GetTextVerticalAlignment ()=0
 Gets the text vertical alignment type of the shape. More...
 
virtual void SetTextVerticalAlignment (Aspose::Cells::TextAlignmentType value)=0
 Sets the text vertical alignment type of the shape. More...
 
virtual Aspose::Cells::TextDirectionType GetTextDirection ()=0
 Gets the direction of the text flow for this object. More...
 
virtual void SetTextDirection (Aspose::Cells::TextDirectionType value)=0
 Sets the direction of the text flow for this object. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte > > GetControlData ()=0
 Gets the data of control. More...
 
virtual void RemoveActiveXControl ()=0
 Remove activeX control. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IShapePathCollectionGetIShapePaths ()=0
 Gets the paths of a custom geometric shape. More...
 
virtual bool IsSameSetting (intrusive_ptr< Aspose::Cells::Systems::Object > obj)=0
 Returns whether the shape is same. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Guid > GetCreateId ()=0
 Gets and sets create id for this shape. More...
 
virtual void SetCreateId (intrusive_ptr< Aspose::Cells::Systems::Guid > value)=0
 Gets and sets create id for this shape. More...
 

Detailed Description

Encapsulates the object that represents a textbox in a spreadsheet.

[C++]
//Instantiate a new Workbook.
intrusive_ptr<IWorkbook> workbook = Factory::CreateIWorkbook();
//Get the first worksheet in the book.
intrusive_ptr<IWorksheet> worksheet = workbook->GetIWorksheets()->GetObjectByIndex(0);
//Add a new textbox to the collection.
Aspose::Cells::Systems::Int32 textboxIndex = worksheet->GetITextBoxes()->Add(2, 1, 160, 200);
//Get the textbox object.
intrusive_ptr<ITextBox> textbox0 = worksheet->GetITextBoxes()->GetObjectByIndex(textboxIndex);
//Fill the text.
textbox0->SetText(new String("ASPOSE______The C++ Component Publisher!"));
//Get the textbox text frame.
intrusive_ptr<IMsoTextFrame> textframe0 = textbox0->GetIMsoTextFrame();
textframe0->SetAutoSize(true);
textbox0->SetPlacement(PlacementType_FreeFloating);
//Set the font color.
textbox0->GetIFont()->SetColor(Aspose::Cells::Systems::Drawing::Color::GetBlue());
//Set the font to bold.
textbox0->GetIFont()->SetBold(true);
//Set the font size.
textbox0->GetIFont()->SetSize(14);
//Set font attribute to italic.
textbox0->GetIFont()->SetItalic(true);
//Add a hyperlink to the textbox.
textbox0->AddIHyperlink(new String("http://www.aspose.com/"));
//Get the filformat of the textbox.
intrusive_ptr<IFillFormat> fillformat = textbox0->GetIFillFormat();
//Set the fillcolor.
fillformat->GetISolidFill->Color = Aspose::Cells::Systems::Drawing::Color::GetSilver();
//Get the lineformat type of the textbox.
intrusive_ptr<ILineFormat> lineformat = textbox0->GetILineFormat();
//Set the line style.
lineformat->SetCompoundType(MsoLineStyle_ThinThick);
//Set the line weight.
lineformat->SetWeight(6);
//Set the dash style to squaredot.
lineformat->SetDashStyle(MsoLineDashStyle_SquareDot);
//Add another textbox.
textboxIndex = worksheet->GetITextBoxes()->Add(15, 4, 85, 120);
//Get the second textbox.
intrusive_ptr<ITextBox> textbox1 = worksheet->GetITextBoxes()->GetObjectByIndex(textboxIndex);
//Input some text to it.
textbox1->SetText(new String("This is another simple text box"));
//Set the placement type as the textbox will move and
//resize with cells.
textbox1->SetPlacement(PlacementType_MoveAndSize);
//Save the excel file.
workbook->Save(new String("tsttextboxes.xls"));