Aspose::Cells::Drawing::IPicture Class Referenceabstract

Encapsulates the object that represents a single picture in a spreadsheet. More...

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

Public Member Functions

virtual void Copy (intrusive_ptr< Aspose::Cells::Drawing::IPicture > source, intrusive_ptr< Aspose::Cells::ICopyOptions > options)=0
 Copy the picture. More...
 
virtual void Move (Aspose::Cells::Systems::Int32 upperLeftRow, Aspose::Cells::Systems::Int32 upperLeftColumn)=0
 Moves the picture to a specified location. More...
 
virtual Aspose::Cells::Systems::Int32 GetOriginalHeight ()=0
 Gets the original height of the picture. More...
 
virtual Aspose::Cells::Systems::Int32 GetOriginalWidth ()=0
 Gets the original width of the picture. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > GetBorderLineColor ()=0
 Represents the System.Drawing.Color of the border line of a picture. More...
 
virtual void SetBorderLineColor (intrusive_ptr< Aspose::Cells::Systems::Drawing::Color > value)=0
 Represents the System.Drawing.Color of the border line of a picture. More...
 
virtual Aspose::Cells::Systems::Double GetBorderWeight ()=0
 Gets the weight of the border line of a picture in units of pt. More...
 
virtual void SetBorderWeight (Aspose::Cells::Systems::Double value)=0
 Sets the weight of the border line of a picture in units of pt. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte > > GetData ()=0
 Gets the data of the picture. More...
 
virtual void SetData (intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >> value)=0
 Gets the data of the picture. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetSourceFullName ()=0
 Gets the path and name of the source file for the linked image. More...
 
virtual void SetSourceFullName (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the path and name of the source file for the linked image. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > GetFormula ()=0
 Gets the data of the formula. More...
 
virtual void SetFormula (intrusive_ptr< Aspose::Cells::Systems::String > value)=0
 Sets the data of the formula. More...
 
virtual bool IsAutoSize ()=0
 True indicates that the size of the ole object will be auto changed as the size of snapshop of the embedded content when the ole object is activated. More...
 
virtual void SetAutoSize (bool value)=0
 True indicates that the size of the ole object will be auto changed as the size of snapshop of the embedded content when the ole object is activated. More...
 
virtual bool IsLink ()=0
 Returns true if the picture is linked to a file. More...
 
virtual void SetLink (bool value)=0
 Returns true if the picture is linked to a file. More...
 
virtual bool IsDynamicDataExchange ()=0
 Gets whether dynamic data exchange More...
 
virtual void SetDynamicDataExchange (bool value)=0
 Sets whether dynamic data exchange More...
 
virtual bool GetDisplayAsIcon ()=0
 True if the specified object is displayed as an icon and the image will not be auto changed. More...
 
virtual void SetDisplayAsIcon (bool value)=0
 True if the specified object is displayed as an icon and the image will not be auto changed. More...
 
virtual Aspose::Cells::Drawing::ImageType GetImageType ()=0
 Gets the image format of the picture. More...
 
virtual Aspose::Cells::Systems::Double GetOriginalHeightCM ()=0
 Gets the original height of picture, in unit of centimeters. More...
 
virtual Aspose::Cells::Systems::Double GetOriginalWidthCM ()=0
 Gets the original width of picture, in unit of centimeters. More...
 
virtual Aspose::Cells::Systems::Double GetOriginalHeightInch ()=0
 Gets the original height of picture, in unit of inches. More...
 
virtual Aspose::Cells::Systems::Double GetOriginalWidthInch ()=0
 Gets the original width of picture, in unit of inches. More...
 
virtual bool IsSameSetting (intrusive_ptr< Aspose::Cells::Systems::Object > obj)=0
 Returns whether the shape is same. More...
 
- 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 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 single picture in a spreadsheet.

Member Function Documentation

◆ Copy()

virtual void Aspose::Cells::Drawing::IPicture::Copy ( intrusive_ptr< Aspose::Cells::Drawing::IPicture source,
intrusive_ptr< Aspose::Cells::ICopyOptions options 
)
pure virtual

Copy the picture.

Parameters
sourceThe source picture.
optionsThe copy options.

◆ GetBorderLineColor()

virtual intrusive_ptr<Aspose::Cells::Systems::Drawing::Color> Aspose::Cells::Drawing::IPicture::GetBorderLineColor ( )
pure virtual

Represents the System.Drawing.Color of the border line of a picture.

◆ GetBorderWeight()

virtual Aspose::Cells::Systems::Double Aspose::Cells::Drawing::IPicture::GetBorderWeight ( )
pure virtual

Gets the weight of the border line of a picture in units of pt.

◆ GetData()

virtual intrusive_ptr<Aspose::Cells::Systems::Array1D<Aspose::Cells::Systems::Byte> > Aspose::Cells::Drawing::IPicture::GetData ( )
pure virtual

Gets the data of the picture.

◆ GetDisplayAsIcon()

virtual bool Aspose::Cells::Drawing::IPicture::GetDisplayAsIcon ( )
pure virtual

True if the specified object is displayed as an icon and the image will not be auto changed.

◆ GetFormula()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::Drawing::IPicture::GetFormula ( )
pure virtual

Gets the data of the formula.

◆ GetImageType()

virtual Aspose::Cells::Drawing::ImageType Aspose::Cells::Drawing::IPicture::GetImageType ( )
pure virtual

Gets the image format of the picture.

◆ GetOriginalHeight()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Drawing::IPicture::GetOriginalHeight ( )
pure virtual

Gets the original height of the picture.

◆ GetOriginalHeightCM()

virtual Aspose::Cells::Systems::Double Aspose::Cells::Drawing::IPicture::GetOriginalHeightCM ( )
pure virtual

Gets the original height of picture, in unit of centimeters.

◆ GetOriginalHeightInch()

virtual Aspose::Cells::Systems::Double Aspose::Cells::Drawing::IPicture::GetOriginalHeightInch ( )
pure virtual

Gets the original height of picture, in unit of inches.

◆ GetOriginalWidth()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Drawing::IPicture::GetOriginalWidth ( )
pure virtual

Gets the original width of the picture.

◆ GetOriginalWidthCM()

virtual Aspose::Cells::Systems::Double Aspose::Cells::Drawing::IPicture::GetOriginalWidthCM ( )
pure virtual

Gets the original width of picture, in unit of centimeters.

◆ GetOriginalWidthInch()

virtual Aspose::Cells::Systems::Double Aspose::Cells::Drawing::IPicture::GetOriginalWidthInch ( )
pure virtual

Gets the original width of picture, in unit of inches.

◆ GetSourceFullName()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::Drawing::IPicture::GetSourceFullName ( )
pure virtual

Gets the path and name of the source file for the linked image.

The default value is an empty string. If SourceFullName is not an empty string, the image is linked. If SourceFullName is not an empty string, but Data is null, then the image is linked and not stored in the file.

◆ IsAutoSize()

virtual bool Aspose::Cells::Drawing::IPicture::IsAutoSize ( )
pure virtual

True indicates that the size of the ole object will be auto changed as the size of snapshop of the embedded content when the ole object is activated.

◆ IsDynamicDataExchange()

virtual bool Aspose::Cells::Drawing::IPicture::IsDynamicDataExchange ( )
pure virtual

Gets whether dynamic data exchange

◆ IsLink()

virtual bool Aspose::Cells::Drawing::IPicture::IsLink ( )
pure virtual

Returns true if the picture is linked to a file.

◆ IsSameSetting()

virtual bool Aspose::Cells::Drawing::IPicture::IsSameSetting ( intrusive_ptr< Aspose::Cells::Systems::Object >  obj)
pure virtual

Returns whether the shape is same.

Parameters
obj
Returns

Implements Aspose::Cells::Drawing::IShape.

◆ Move()

virtual void Aspose::Cells::Drawing::IPicture::Move ( Aspose::Cells::Systems::Int32  upperLeftRow,
Aspose::Cells::Systems::Int32  upperLeftColumn 
)
pure virtual

Moves the picture to a specified location.

Parameters
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.

◆ SetAutoSize()

virtual void Aspose::Cells::Drawing::IPicture::SetAutoSize ( bool  value)
pure virtual

True indicates that the size of the ole object will be auto changed as the size of snapshop of the embedded content when the ole object is activated.

◆ SetBorderLineColor()

virtual void Aspose::Cells::Drawing::IPicture::SetBorderLineColor ( intrusive_ptr< Aspose::Cells::Systems::Drawing::Color >  value)
pure virtual

Represents the System.Drawing.Color of the border line of a picture.

◆ SetBorderWeight()

virtual void Aspose::Cells::Drawing::IPicture::SetBorderWeight ( Aspose::Cells::Systems::Double  value)
pure virtual

Sets the weight of the border line of a picture in units of pt.

◆ SetData()

virtual void Aspose::Cells::Drawing::IPicture::SetData ( intrusive_ptr< Aspose::Cells::Systems::Array1D< Aspose::Cells::Systems::Byte >>  value)
pure virtual

Gets the data of the picture.

◆ SetDisplayAsIcon()

virtual void Aspose::Cells::Drawing::IPicture::SetDisplayAsIcon ( bool  value)
pure virtual

True if the specified object is displayed as an icon and the image will not be auto changed.

◆ SetDynamicDataExchange()

virtual void Aspose::Cells::Drawing::IPicture::SetDynamicDataExchange ( bool  value)
pure virtual

Sets whether dynamic data exchange

◆ SetFormula()

virtual void Aspose::Cells::Drawing::IPicture::SetFormula ( intrusive_ptr< Aspose::Cells::Systems::String >  value)
pure virtual

Sets the data of the formula.

◆ SetLink()

virtual void Aspose::Cells::Drawing::IPicture::SetLink ( bool  value)
pure virtual

Returns true if the picture is linked to a file.

◆ SetSourceFullName()

virtual void Aspose::Cells::Drawing::IPicture::SetSourceFullName ( intrusive_ptr< Aspose::Cells::Systems::String >  value)
pure virtual

Sets the path and name of the source file for the linked image.

The default value is an empty string. If SourceFullName is not an empty string, the image is linked. If SourceFullName is not an empty string, but Data is null, then the image is linked and not stored in the file.