wxAutoExcel  2.0.0
wxAutoExcel::wxExcelShapeRange Class Reference

Represents Microsoft Excel ShapeRange object. More...

Inheritance diagram for wxAutoExcel::wxExcelShapeRange:
wxAutoExcel::wxExcelObject

Public Member Functions

void Align (MsoAlignCmd alignCmd)
 Aligns the shapes in the specified range of shapes. More...
 
void Apply ()
 Applies to the specified shape formatting that’s been copied by using the PickUp method. More...
 
void Delete ()
 Deletes the object. More...
 
void Distribute (MsoDistributeCmd distributeCmd)
 Horizontally or vertically distributes the shapes in the specified range of shapes. More...
 
wxExcelShapeRange Duplicate ()
 Duplicates the object and returns a reference to the new copy. More...
 
void Flip (MsoFlipCmd flipCmd)
 Flips the specified shape around its horizontal or vertical axis. More...
 
wxExcelShape Group ()
 Groups the shapes in the specified range. More...
 
void IncrementLeft (double increment)
 Moves the specified shape horizontally by the specified number of points. More...
 
void IncrementRotation (double increment)
 Changes the rotation of the specified shape around the z-axis by the specified number of degrees. More...
 
void IncrementTop (double increment)
 Moves the specified shape vertically by the specified number of points. More...
 
wxExcelShape Item (long index)
 Returns a single object from a collection. More...
 
void PickUp ()
 Copies the formatting of the specified shape. More...
 
wxExcelShape Regroup ()
 Regroups the group that the specified shape range belonged to previously. More...
 
void RerouteConnections ()
 This method reroutes all connectors attached to the specified shape; if the specified shape is a connector, it’s rerouted. More...
 
void ScaleHeight (double factor, MsoTriState relativeToOriginalSize, MsoScaleFrom *scale=NULL)
 Scales the height of the shape by a specified factor. More...
 
void ScaleWidth (double factor, MsoTriState relativeToOriginalSize, MsoScaleFrom *scale=NULL)
 Scales the width of the shape by a specified factor. More...
 
void Select ()
 Selects the object. More...
 
void SetShapesDefaultProperties ()
 Makes the formatting of the specified shape the default formatting for the shape. More...
 
wxExcelShapeRange Ungroup ()
 Ungroups any grouped shapes in the specified shape or range of shapes. More...
 
void ZOrder (MsoZOrderCmd ZOrderCmd)
 Moves the specified shape in front of or behind other shapes in the collection (that is, changes the shape's position in the z-order). More...
 
wxExcelAdjustments GetAdjustments ()
 Returns an Adjustments object that contains adjustment values for all the adjustments in the specified shape. More...
 
wxString GetAlternativeText ()
 Returns the descriptive (alternative) text string for a ShapeRange object when the object is saved to a Web page. More...
 
MsoAutoShapeType GetAutoShapeType ()
 Returns the shape type for the specified Shape or ShapeRange object, which must represent an AutoShape other than a line, freeform drawing, or connector. More...
 
void SetAutoShapeType (MsoAutoShapeType autoShapeType)
 Sets the shape type for the specified Shape or ShapeRange object, which must represent an AutoShape other than a line, freeform drawing, or connector. More...
 
MsoBackgroundStyleIndex GetBackgroundStyle ()
 Background style Since Excel 2007. More...
 
void SetBackgroundStyle (MsoBackgroundStyleIndex backgroundStyle)
 Background style Since Excel 2007. More...
 
MsoBlackWhiteMode GetBlackWhiteMode ()
 Returns a value that indicates how the specified shape appears when the presentation is viewed in black-and-white mode. More...
 
wxExcelCalloutFormat GetCallout ()
 Returns a CalloutFormat object that contains callout formatting properties for the specified shape. More...
 
wxExcelChart GetChart ()
 Since Excel 2007. More...
 
MsoTriState GetChild ()
 Returns msoTrue if the specified shape is a child shape or if all shapes in a shape range are child shapes of the same parent. More...
 
long GetConnectionSiteCount ()
 Returns the number of connection sites on the specified shape. More...
 
MsoTriState GetConnector ()
 True if the specified shape is a connector. More...
 
wxExcelConnectorFormat GetConnectorFormat ()
 Returns a ConnectorFormat object that contains connector formatting properties. More...
 
long GetCount ()
 Returns a Long value that represents the number of objects in the collection. More...
 
wxExcelFillFormat GetFill ()
 Returns a FillFormat object for a specified shape or a ChartFillFormat object for a specified chart that contains fill formatting properties for the shape or chart. More...
 
wxExcelGlowFormat GetGlow ()
 GlowFormat Since Excel 2007. More...
 
MsoGraphicStyleIndex GetGraphicStyle ()
 Returns an MsoGraphicStyleIndex constant that represents the style of an SVG graphic. More...
 
void SetGraphicStyle (MsoGraphicStyleIndex graphicStyle)
 Sets an MsoGraphicStyleIndex constant that represents the style of an SVG graphic. More...
 
wxExcelGroupShapes GetGroupItems ()
 Returns a GroupShapes Represents the individual shapes in the specified group. More...
 
bool GetHasChart ()
 Returns true If has a chart. More...
 
double GetHeight ()
 Returns a Single value that represents the height, in points, of the object. More...
 
MsoTriState GetHorizontalFlip ()
 True if the specified shape is flipped around the horizontal axis. More...
 
long GetID ()
 Returns a Long value that represents the type for the specified object. More...
 
double GetLeft ()
 Returns a Single value that represents the distance, in points, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart). More...
 
void SetLeft (double left)
 Sets a Single value that represents the distance, in points, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart). More...
 
wxExcelLineFormat GetLine ()
 Returns a LineFormat object that contains line formatting properties for the specified shape. More...
 
MsoTriState GetLockAspectRatio ()
 True if the specified shape retains its original proportions when you resize it. More...
 
void SetLockAspectRatio (MsoTriState lockAspectRatio)
 True if the specified shape retains its original proportions when you resize it. More...
 
wxExcelModel3DFormat GetModel3D ()
 Returns a Model3DFormat object that contains Model3D properties. More...
 
wxString GetName ()
 Returns a String value representing the name of the object. More...
 
void SetName (const wxString &name)
 Sets a String value representing the name of the object. More...
 
wxExcelShapeNodes GetNodes ()
 Returns a ShapeNodes collection that represents the geometric description of the specified shape. More...
 
wxExcelShape GetParentGroup ()
 Returns a Shape Represents the common parent shape of a child shape or a range of child shapes. More...
 
wxExcelPictureFormat GetPictureFormat ()
 Returns a PictureFormat object that contains picture formatting properties for the specified shape. More...
 
wxExcelReflectionFormat GetReflection ()
 Returns a ReflectionFormat object for a specified shape range that contains reflection formatting properties. More...
 
double GetRotation ()
 Returns the rotation of the shape, in degrees. More...
 
wxExcelShadowFormat GetShadow ()
 Returns a read-only ShadowFormat object that contains shadow formatting properties for the specified shape or shapes. More...
 
MsoShapeStyleIndex GetShapeStyle ()
 Shape style Since Excel 2007. More...
 
void SetShapeStyle (MsoShapeStyleIndex shapeStyle)
 Shape style Since Excel 2007. More...
 
wxExcelSoftEdgeFormat GetSoftEdge ()
 SoftEdgeFormat Since Excel 2007. More...
 
wxExcelTextEffectFormat GetTextEffect ()
 Returns a TextEffectFormat object that contains text-effect formatting properties for the specified shape. More...
 
wxExcelTextFrame GetTextFrame ()
 Returns a TextFrame object that contains the alignment and anchoring properties for the specified shape. More...
 
wxExcelTextFrame2 GetTextFrame2 ()
 Read-only Since Excel 2007. More...
 
wxExcelThreeDFormat GetThreeD ()
 Returns a ThreeDFormat object that contains 3-D – effect formatting properties for the specified shape. More...
 
double GetTop ()
 Returns a Single value that represents the distance, in points, from the top edge of the topmost shape in the shape range to the top edge of the worksheet. More...
 
MsoShapeType GetType ()
 Returns a MsoShapeType value that represents the shape type. More...
 
MsoTriState GetVerticalFlip ()
 True if the specified shape is flipped around the vertical axis. More...
 
wxVector< wxPoint2DDouble > GetVertices ()
 Returns the coordinates of the specified freeform drawing's vertices (and control points for Bézier curves) as a series of coordinate pairs. More...
 
MsoTriState GetVisible ()
 Returns a MsoTriState value that determines whether the object is visible. More...
 
double GetWidth ()
 Returns a Single value that represents the width, in points, of the object. More...
 
long GetZOrderPosition ()
 Returns the position of the specified shape in the z-order.Read-only. More...
 
virtual wxString GetAutoExcelObjectName_ () const
 Returns "ShapeRange". More...
 
- Public Member Functions inherited from wxAutoExcel::wxExcelObject
bool IsOk_ () const
 Returns true if the object has a valid dispatch. More...
 
wxString GetAutomationObjectName_ (bool stripUnderscores=false) const
 Returns object name as provided by IDispatch->GetTypeInfo()->GetDocumentation(MEMBERID_NIL, &name, NULL, NULL, NULL). More...
 
wxSharedPtr< wxAutomationObject > GetAutomationObject_ ()
 Returns the underlying wxAutomationObject. More...
 
 operator bool () const
 Returns true if the object has a valid dispatch and its last automation call (if any), i.e. More...
 
WXLCID GetAutomationLCID_ () const
 Returns the locale identifier used in automation calls. More...
 
bool SetAutomationLCID_ (WXLCID lcid)
 Sets the locale identifier to be used in automation calls. More...
 
bool GetPropertyAndMethodNames_ (wxArrayString &propertyNames, wxArrayString &methodNames, bool includeHidden=false)
 Returns lists of property and method names the automation interface exposes. More...
 
bool GetUnimplementedObject_ (const wxString &name, wxAutomationObject &object)
 Helper function for receiving an automation object not implemented in wxAutoExcel, see FAQ on how to use. More...
 

Additional Inherited Members

- Public Types inherited from wxAutoExcel::wxExcelObject
enum  ErrorFlags {
  Err_DoNothing = 0 , Err_LogOnInvalidDispatch = 1 , Err_AssertOnInvalidDispatch = 1 << 1 , Err_ThrowOnInvalidDispatch = 1 << 2 ,
  Err_LogOnInvalidArgument = 1 << 3 , Err_AssertOnInvalidArgument = 1 << 4 , Err_ThrowOnInvalidArgument = 1 << 5 , Err_LogOnFailedInvoke = 1 << 6 ,
  Err_AssertOnFailedInvoke = 1 << 7 , Err_ThrowOnFailedInvoke = 1 << 8 , Err_LogOnInvalidReturnType = 1 << 9 , Err_AssertOnInvalidReturnType = 1 << 10 ,
  Err_ThrowOnInvalidReturnType = 1 << 11 , Err_LogOnOtherError = 1 << 12 , Err_AssertOnOtherError = 1 << 13 , Err_ThrowOnOtherError = 1 << 14
}
 Flags affecting the behaviour of wxExcelObject and its descendants when an error occurs during accessing an Excel object property or calling its method. More...
 
- Static Public Member Functions inherited from wxAutoExcel::wxExcelObject
static unsigned GetErrorMode_ ()
 Sets the error mode to the combination of wxExcelObject::ErrorFlags. More...
 
static void SetErrorMode_ (unsigned mode)
 Sets the error mode as the combination of wxExcelObject::ErrorFlags. More...
 
static bool GetUnimplementedCollectionItem_ (wxAutomationObject &collection, const long index, wxAutomationObject &item, bool asProperty)
 Helper function for obtaining an item from MS Excel collection not implemented in wxAutoExcel, see FAQ on how to use. More...
 

Detailed Description

Represents Microsoft Excel ShapeRange object.

Member Function Documentation

◆ Align()

void wxAutoExcel::wxExcelShapeRange::Align ( MsoAlignCmd  alignCmd)

Aligns the shapes in the specified range of shapes.

MSDN documentation for ShapeRange.Align.

◆ Apply()

void wxAutoExcel::wxExcelShapeRange::Apply ( )

Applies to the specified shape formatting that’s been copied by using the PickUp method.

MSDN documentation for ShapeRange.Apply.

◆ Delete()

void wxAutoExcel::wxExcelShapeRange::Delete ( )

◆ Distribute()

void wxAutoExcel::wxExcelShapeRange::Distribute ( MsoDistributeCmd  distributeCmd)

Horizontally or vertically distributes the shapes in the specified range of shapes.

MSDN documentation for ShapeRange.Distribute.

◆ Duplicate()

wxExcelShapeRange wxAutoExcel::wxExcelShapeRange::Duplicate ( )

Duplicates the object and returns a reference to the new copy.

MSDN documentation for ShapeRange.Duplicate.

◆ Flip()

void wxAutoExcel::wxExcelShapeRange::Flip ( MsoFlipCmd  flipCmd)

Flips the specified shape around its horizontal or vertical axis.

MSDN documentation for ShapeRange.Flip.

◆ Group()

wxExcelShape wxAutoExcel::wxExcelShapeRange::Group ( )

Groups the shapes in the specified range.

MSDN documentation for ShapeRange.Group.

◆ IncrementLeft()

void wxAutoExcel::wxExcelShapeRange::IncrementLeft ( double  increment)

Moves the specified shape horizontally by the specified number of points.

MSDN documentation for ShapeRange.IncrementLeft.

◆ IncrementRotation()

void wxAutoExcel::wxExcelShapeRange::IncrementRotation ( double  increment)

Changes the rotation of the specified shape around the z-axis by the specified number of degrees.

Use the Rotation property to set the absolute rotation of the shape.

MSDN documentation for ShapeRange.IncrementRotation.

◆ IncrementTop()

void wxAutoExcel::wxExcelShapeRange::IncrementTop ( double  increment)

Moves the specified shape vertically by the specified number of points.

MSDN documentation for ShapeRange.IncrementTop.

◆ Item()

wxExcelShape wxAutoExcel::wxExcelShapeRange::Item ( long  index)

Returns a single object from a collection.

MSDN documentation for ShapeRange.Item.

◆ PickUp()

void wxAutoExcel::wxExcelShapeRange::PickUp ( )

Copies the formatting of the specified shape.

Use the Apply method to apply the copied formatting to another shape.

MSDN documentation for ShapeRange.PickUp.

◆ Regroup()

wxExcelShape wxAutoExcel::wxExcelShapeRange::Regroup ( )

Regroups the group that the specified shape range belonged to previously.

Returns the regrouped shapes as a single Shape object.

MSDN documentation for ShapeRange.Regroup.

◆ RerouteConnections()

void wxAutoExcel::wxExcelShapeRange::RerouteConnections ( )

This method reroutes all connectors attached to the specified shape; if the specified shape is a connector, it’s rerouted.

MSDN documentation for ShapeRange.RerouteConnections.

◆ ScaleHeight()

void wxAutoExcel::wxExcelShapeRange::ScaleHeight ( double  factor,
MsoTriState  relativeToOriginalSize,
MsoScaleFrom scale = NULL 
)

Scales the height of the shape by a specified factor.

For pictures and OLE objects, you can indicate whether you want to scale the shape relative to the original or the current size. Shapes other than pictures and OLE objects are always scaled relative to their current height.

MSDN documentation for ShapeRange.ScaleHeight.

◆ ScaleWidth()

void wxAutoExcel::wxExcelShapeRange::ScaleWidth ( double  factor,
MsoTriState  relativeToOriginalSize,
MsoScaleFrom scale = NULL 
)

Scales the width of the shape by a specified factor.

For pictures and OLE objects, you can indicate whether you want to scale the shape relative to the original or the current size. Shapes other than pictures and OLE objects are always scaled relative to their current width.

MSDN documentation for ShapeRange.ScaleWidth.

◆ Select()

void wxAutoExcel::wxExcelShapeRange::Select ( )

◆ SetShapesDefaultProperties()

void wxAutoExcel::wxExcelShapeRange::SetShapesDefaultProperties ( )

Makes the formatting of the specified shape the default formatting for the shape.

MSDN documentation for ShapeRange.SetShapesDefaultProperties.

◆ Ungroup()

wxExcelShapeRange wxAutoExcel::wxExcelShapeRange::Ungroup ( )

Ungroups any grouped shapes in the specified shape or range of shapes.

Disassembles pictures and OLE objects within the specified shape or range of shapes.

MSDN documentation for ShapeRange.Ungroup.

◆ ZOrder()

void wxAutoExcel::wxExcelShapeRange::ZOrder ( MsoZOrderCmd  ZOrderCmd)

Moves the specified shape in front of or behind other shapes in the collection (that is, changes the shape's position in the z-order).

MSDN documentation for ShapeRange.ZOrder.

◆ GetAdjustments()

wxExcelAdjustments wxAutoExcel::wxExcelShapeRange::GetAdjustments ( )

Returns an Adjustments object that contains adjustment values for all the adjustments in the specified shape.

Applies to any ShapeRange Represents an AutoShape, WordArt, or a connector.

MSDN documentation for ShapeRange.Adjustments.

◆ GetAlternativeText()

wxString wxAutoExcel::wxExcelShapeRange::GetAlternativeText ( )

Returns the descriptive (alternative) text string for a ShapeRange object when the object is saved to a Web page.

MSDN documentation for ShapeRange.AlternativeText.

◆ GetAutoShapeType()

MsoAutoShapeType wxAutoExcel::wxExcelShapeRange::GetAutoShapeType ( )

Returns the shape type for the specified Shape or ShapeRange object, which must represent an AutoShape other than a line, freeform drawing, or connector.

Read/write MsoAutoShapeType.

MSDN documentation for ShapeRange.AutoShapeType.

◆ SetAutoShapeType()

void wxAutoExcel::wxExcelShapeRange::SetAutoShapeType ( MsoAutoShapeType  autoShapeType)

Sets the shape type for the specified Shape or ShapeRange object, which must represent an AutoShape other than a line, freeform drawing, or connector.

Read/write MsoAutoShapeType.

MSDN documentation for ShapeRange.AutoShapeType.

◆ GetBackgroundStyle()

MsoBackgroundStyleIndex wxAutoExcel::wxExcelShapeRange::GetBackgroundStyle ( )

Background style Since Excel 2007.

MSDN documentation for ShapeRange.BackgroundStyle.

◆ SetBackgroundStyle()

void wxAutoExcel::wxExcelShapeRange::SetBackgroundStyle ( MsoBackgroundStyleIndex  backgroundStyle)

Background style Since Excel 2007.

MSDN documentation for ShapeRange.BackgroundStyle.

◆ GetBlackWhiteMode()

MsoBlackWhiteMode wxAutoExcel::wxExcelShapeRange::GetBlackWhiteMode ( )

Returns a value that indicates how the specified shape appears when the presentation is viewed in black-and-white mode.

Read/write MsoBlackWhiteMode.

MSDN documentation for ShapeRange.BlackWhiteMode.

◆ GetCallout()

wxExcelCalloutFormat wxAutoExcel::wxExcelShapeRange::GetCallout ( )

Returns a CalloutFormat object that contains callout formatting properties for the specified shape.

Applies to a ShapeRange object that represent line callouts.

MSDN documentation for ShapeRange.Callout.

◆ GetChart()

wxExcelChart wxAutoExcel::wxExcelShapeRange::GetChart ( )

◆ GetChild()

MsoTriState wxAutoExcel::wxExcelShapeRange::GetChild ( )

Returns msoTrue if the specified shape is a child shape or if all shapes in a shape range are child shapes of the same parent.

Read-only MsoTriState.

MSDN documentation for ShapeRange.Child.

◆ GetConnectionSiteCount()

long wxAutoExcel::wxExcelShapeRange::GetConnectionSiteCount ( )

Returns the number of connection sites on the specified shape.

MSDN documentation for ShapeRange.ConnectionSiteCount.

◆ GetConnector()

MsoTriState wxAutoExcel::wxExcelShapeRange::GetConnector ( )

True if the specified shape is a connector.

Read-only MsoTriState.

MSDN documentation for ShapeRange.Connector.

◆ GetConnectorFormat()

wxExcelConnectorFormat wxAutoExcel::wxExcelShapeRange::GetConnectorFormat ( )

Returns a ConnectorFormat object that contains connector formatting properties.

Applies to a ShapeRange objects that represent connectors.

MSDN documentation for ShapeRange.ConnectorFormat.

◆ GetCount()

long wxAutoExcel::wxExcelShapeRange::GetCount ( )

Returns a Long value that represents the number of objects in the collection.

MSDN documentation for ShapeRange.Count.

◆ GetFill()

wxExcelFillFormat wxAutoExcel::wxExcelShapeRange::GetFill ( )

Returns a FillFormat object for a specified shape or a ChartFillFormat object for a specified chart that contains fill formatting properties for the shape or chart.

MSDN documentation for ShapeRange.Fill.

◆ GetGlow()

wxExcelGlowFormat wxAutoExcel::wxExcelShapeRange::GetGlow ( )

GlowFormat Since Excel 2007.

MSDN documentation for ShapeRange.Glow.

◆ GetGraphicStyle()

MsoGraphicStyleIndex wxAutoExcel::wxExcelShapeRange::GetGraphicStyle ( )

Returns an MsoGraphicStyleIndex constant that represents the style of an SVG graphic.

Excel VBA documentation for ShapeRange.GraphicStyle

◆ SetGraphicStyle()

void wxAutoExcel::wxExcelShapeRange::SetGraphicStyle ( MsoGraphicStyleIndex  graphicStyle)

Sets an MsoGraphicStyleIndex constant that represents the style of an SVG graphic.

Excel VBA documentation for ShapeRange.GraphicStyle

◆ GetGroupItems()

wxExcelGroupShapes wxAutoExcel::wxExcelShapeRange::GetGroupItems ( )

Returns a GroupShapes Represents the individual shapes in the specified group.

Use the Item method of the GroupShapes object to return a single shape from the group. Applies to ShapeRange objects that represent grouped shapes.

MSDN documentation for ShapeRange.GroupItems.

◆ GetHasChart()

bool wxAutoExcel::wxExcelShapeRange::GetHasChart ( )

Returns true If has a chart.

Since Excel 2007.

MSDN documentation for ShapeRange.HasChart.

◆ GetHeight()

double wxAutoExcel::wxExcelShapeRange::GetHeight ( )

Returns a Single value that represents the height, in points, of the object.

MSDN documentation for ShapeRange.Height.

◆ GetHorizontalFlip()

MsoTriState wxAutoExcel::wxExcelShapeRange::GetHorizontalFlip ( )

True if the specified shape is flipped around the horizontal axis.

Read-only MsoTriState.

MSDN documentation for ShapeRange.HorizontalFlip.

◆ GetID()

long wxAutoExcel::wxExcelShapeRange::GetID ( )

Returns a Long value that represents the type for the specified object.

MSDN documentation for ShapeRange.ID.

◆ GetLeft()

double wxAutoExcel::wxExcelShapeRange::GetLeft ( )

Returns a Single value that represents the distance, in points, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).

MSDN documentation for ShapeRange.Left.

◆ SetLeft()

void wxAutoExcel::wxExcelShapeRange::SetLeft ( double  left)

Sets a Single value that represents the distance, in points, from the left edge of the object to the left edge of column A (on a worksheet) or the left edge of the chart area (on a chart).

MSDN documentation for ShapeRange.Left.

◆ GetLine()

wxExcelLineFormat wxAutoExcel::wxExcelShapeRange::GetLine ( )

Returns a LineFormat object that contains line formatting properties for the specified shape.

(For a line, the LineFormat object represents the line itself; for a shape with a border, the LineFormat object represents the border).

MSDN documentation for ShapeRange.Line.

◆ GetLockAspectRatio()

MsoTriState wxAutoExcel::wxExcelShapeRange::GetLockAspectRatio ( )

True if the specified shape retains its original proportions when you resize it.

False if you can change the height and width of the shape independently of one another when you resize it. Read/write MsoTriState.

MSDN documentation for ShapeRange.LockAspectRatio.

◆ SetLockAspectRatio()

void wxAutoExcel::wxExcelShapeRange::SetLockAspectRatio ( MsoTriState  lockAspectRatio)

True if the specified shape retains its original proportions when you resize it.

False if you can change the height and width of the shape independently of one another when you resize it. Read/write MsoTriState.

MSDN documentation for ShapeRange.LockAspectRatio.

◆ GetModel3D()

wxExcelModel3DFormat wxAutoExcel::wxExcelShapeRange::GetModel3D ( )

Returns a Model3DFormat object that contains Model3D properties.

Excel VBA documentation for Shape.Model3D

◆ GetName()

wxString wxAutoExcel::wxExcelShapeRange::GetName ( )

Returns a String value representing the name of the object.

MSDN documentation for ShapeRange.Name.

◆ SetName()

void wxAutoExcel::wxExcelShapeRange::SetName ( const wxString &  name)

Sets a String value representing the name of the object.

MSDN documentation for ShapeRange.Name.

◆ GetNodes()

wxExcelShapeNodes wxAutoExcel::wxExcelShapeRange::GetNodes ( )

Returns a ShapeNodes collection that represents the geometric description of the specified shape.

MSDN documentation for ShapeRange.Nodes.

◆ GetParentGroup()

wxExcelShape wxAutoExcel::wxExcelShapeRange::GetParentGroup ( )

Returns a Shape Represents the common parent shape of a child shape or a range of child shapes.

MSDN documentation for ShapeRange.ParentGroup.

◆ GetPictureFormat()

wxExcelPictureFormat wxAutoExcel::wxExcelShapeRange::GetPictureFormat ( )

Returns a PictureFormat object that contains picture formatting properties for the specified shape.

Applies to a ShapeRange object that represent pictures or OLE objects.

MSDN documentation for ShapeRange.PictureFormat.

◆ GetReflection()

wxExcelReflectionFormat wxAutoExcel::wxExcelShapeRange::GetReflection ( )

Returns a ReflectionFormat object for a specified shape range that contains reflection formatting properties.

Since Excel 2007.

MSDN documentation for ShapeRange.Reflection.

◆ GetRotation()

double wxAutoExcel::wxExcelShapeRange::GetRotation ( )

Returns the rotation of the shape, in degrees.

Read/write Single.

MSDN documentation for ShapeRange.Rotation.

◆ GetShadow()

wxExcelShadowFormat wxAutoExcel::wxExcelShapeRange::GetShadow ( )

Returns a read-only ShadowFormat object that contains shadow formatting properties for the specified shape or shapes.

MSDN documentation for ShapeRange.Shadow.

◆ GetShapeStyle()

MsoShapeStyleIndex wxAutoExcel::wxExcelShapeRange::GetShapeStyle ( )

Shape style Since Excel 2007.

MSDN documentation for ShapeRange.ShapeStyle.

◆ SetShapeStyle()

void wxAutoExcel::wxExcelShapeRange::SetShapeStyle ( MsoShapeStyleIndex  shapeStyle)

Shape style Since Excel 2007.

MSDN documentation for ShapeRange.ShapeStyle.

◆ GetSoftEdge()

wxExcelSoftEdgeFormat wxAutoExcel::wxExcelShapeRange::GetSoftEdge ( )

SoftEdgeFormat Since Excel 2007.

MSDN documentation for ShapeRange.SoftEdge.

◆ GetTextEffect()

wxExcelTextEffectFormat wxAutoExcel::wxExcelShapeRange::GetTextEffect ( )

Returns a TextEffectFormat object that contains text-effect formatting properties for the specified shape.

MSDN documentation for ShapeRange.TextEffect.

◆ GetTextFrame()

wxExcelTextFrame wxAutoExcel::wxExcelShapeRange::GetTextFrame ( )

Returns a TextFrame object that contains the alignment and anchoring properties for the specified shape.

MSDN documentation for ShapeRange.TextFrame.

◆ GetTextFrame2()

wxExcelTextFrame2 wxAutoExcel::wxExcelShapeRange::GetTextFrame2 ( )

Read-only Since Excel 2007.

MSDN documentation for ShapeRange.TextFrame2.

◆ GetThreeD()

wxExcelThreeDFormat wxAutoExcel::wxExcelShapeRange::GetThreeD ( )

Returns a ThreeDFormat object that contains 3-D – effect formatting properties for the specified shape.

MSDN documentation for ShapeRange.ThreeD.

◆ GetTop()

double wxAutoExcel::wxExcelShapeRange::GetTop ( )

Returns a Single value that represents the distance, in points, from the top edge of the topmost shape in the shape range to the top edge of the worksheet.

MSDN documentation for ShapeRange.Top.

◆ GetType()

MsoShapeType wxAutoExcel::wxExcelShapeRange::GetType ( )

Returns a MsoShapeType value that represents the shape type.

MSDN documentation for ShapeRange.Type.

◆ GetVerticalFlip()

MsoTriState wxAutoExcel::wxExcelShapeRange::GetVerticalFlip ( )

True if the specified shape is flipped around the vertical axis.

Read-only MsoTriState.

MSDN documentation for ShapeRange.VerticalFlip.

◆ GetVertices()

wxVector<wxPoint2DDouble> wxAutoExcel::wxExcelShapeRange::GetVertices ( )

Returns the coordinates of the specified freeform drawing's vertices (and control points for Bézier curves) as a series of coordinate pairs.

You can use the array returned by this property as an argument to the AddCurve method or AddPolyLine method.

MSDN documentation for ShapeRange.Vertices.

◆ GetVisible()

MsoTriState wxAutoExcel::wxExcelShapeRange::GetVisible ( )

Returns a MsoTriState value that determines whether the object is visible.

MSDN documentation for ShapeRange.Visible.

◆ GetWidth()

double wxAutoExcel::wxExcelShapeRange::GetWidth ( )

Returns a Single value that represents the width, in points, of the object.

MSDN documentation for ShapeRange.Width.

◆ GetZOrderPosition()

long wxAutoExcel::wxExcelShapeRange::GetZOrderPosition ( )

Returns the position of the specified shape in the z-order.Read-only.

MSDN documentation for ShapeRange.ZOrderPosition.

◆ GetAutoExcelObjectName_()

virtual wxString wxAutoExcel::wxExcelShapeRange::GetAutoExcelObjectName_ ( ) const
inlinevirtual

Returns "ShapeRange".

Reimplemented from wxAutoExcel::wxExcelObject.