wxAutoExcel
2.0.0
|
Represents Microsoft Excel Shape object. More...
Public Member Functions | |
void | Apply () |
Applies to the specified shape formatting that’s been copied by using the PickUp method. More... | |
void | Copy () |
Copies the object to the Clipboard. More... | |
void | CopyPicture (XlPictureAppearance *appearance=NULL, XlCopyPictureFormat *format=NULL) |
Copies the selected object to the Clipboard as a picture. More... | |
void | Cut () |
Cuts the object to the Clipboard. More... | |
void | Delete () |
Deletes the object. More... | |
void | 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... | |
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... | |
void | PickUp () |
Copies the formatting of the specified shape. 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) |
Scales the height of the shape by a specified factor. More... | |
void | ScaleWidth (double factor, MsoTriState relativeToOriginalSize, MsoScaleFrom *scale) |
Scales the width of the shape by a specified factor. More... | |
void | Select (wxXlTribool replace=wxDefaultXlTribool) |
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 Shape object when the object is saved to a Web page. More... | |
void | SetAlternativeText (const wxString &alternativeText) |
Sets the descriptive (alternative) text string for a Shape 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. More... | |
MsoBlackWhiteMode | GetBlackWhiteMode () |
Returns a value that indicates how the specified shape appears when the presentation is viewed in black-and-white mode. More... | |
void | SetBlackWhiteMode (MsoBlackWhiteMode blackWhiteMode) |
Sets a value that indicates how the specified shape appears when the presentation is viewed in black-and-white mode. More... | |
wxExcelRange | GetBottomRightCell () |
Returns a Range Represents the cell that lies under the lower-right corner of the object. More... | |
wxExcelCalloutFormat | GetCallout () |
Returns a CalloutFormat object that contains callout formatting properties for the specified shape. More... | |
wxExcelChart | GetChart () |
Read-only 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... | |
wxExcelControlFormat | GetControlFormat () |
Returns a ControlFormat object that contains Microsoft Excel control properties. 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... | |
XlFormControl | GetFormControlType () |
Returns the Microsoft Excel control type. 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... | |
MsoTriState | GetHasChart () |
Returns if shape contains 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... | |
wxExcelHyperlink | GetHyperlink () |
Returns a Hyperlink Represents the hyperlink for the shape. 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... | |
wxExcelLineFormat | GetLine () |
Returns a LineFormat object that contains line formatting properties for the specified shape. More... | |
wxExcelLinkFormat | GetLinkFormat () |
Returns a LinkFormat object that contains linked OLE object properties. 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... | |
bool | GetLocked () |
Returns a Boolean value that indicates if the object is locked. More... | |
void | SetLocked (bool locked) |
Sets a Boolean value that indicates if the object is locked. 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... | |
wxExcelShapeNodes | GetNodes () |
Returns a ShapeNodes collection that represents the geometric description of the specified shape. More... | |
wxExcelOLEFormat | GetOLEFormat () |
Returns an OLEFormat object that contains OLE object properties. More... | |
wxString | GetOnAction () |
Returns the name of a macro that’s run when the specified object is clicked. More... | |
void | SetOnAction (const wxString &onAction) |
Sets the name of a macro that’s run when the specified object is clicked. 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... | |
XlPlacement | GetPlacement () |
Returns an XlPlacement value that represents the way the object is attached to the cells below it. More... | |
void | SetPlacement (XlPlacement placement) |
Sets an XlPlacement value that represents the way the object is attached to the cells below it. More... | |
wxExcelReflectionFormat | GetReflection () |
ReflectionFormat Since Excel 2007. More... | |
double | GetRotation () |
Returns the rotation of the shape, in degrees. More... | |
void | SetRotation (double rotation) |
Sets 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 () |
The style of the shape. More... | |
void | SetShapeStyle (MsoShapeStyleIndex shapeStyle) |
The style of the shape. 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 () |
TextFrame2 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... | |
void | SetTop (double top) |
Sets 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... | |
wxExcelRange | GetTopLeftCell () |
Returns a Range Represents the cell that lies under the upper-left corner of the specified object. 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... | |
void | SetVisible (MsoTriState visible) |
Sets 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... | |
void | SetWidth (double width) |
Sets 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 "Shape". 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... | |
Represents Microsoft Excel Shape object.
void wxAutoExcel::wxExcelShape::Apply | ( | ) |
Applies to the specified shape formatting that’s been copied by using the PickUp method.
void wxAutoExcel::wxExcelShape::Copy | ( | ) |
Copies the object to the Clipboard.
void wxAutoExcel::wxExcelShape::CopyPicture | ( | XlPictureAppearance * | appearance = NULL , |
XlCopyPictureFormat * | format = NULL |
||
) |
Copies the selected object to the Clipboard as a picture.
void wxAutoExcel::wxExcelShape::Cut | ( | ) |
Cuts the object to the Clipboard.
void wxAutoExcel::wxExcelShape::Delete | ( | ) |
Deletes the object.
void wxAutoExcel::wxExcelShape::Duplicate | ( | ) |
Duplicates the object and returns a reference to the new copy.
void wxAutoExcel::wxExcelShape::Flip | ( | MsoFlipCmd | flipCmd | ) |
Flips the specified shape around its horizontal or vertical axis.
void wxAutoExcel::wxExcelShape::IncrementLeft | ( | double | increment | ) |
Moves the specified shape horizontally by the specified number of points.
void wxAutoExcel::wxExcelShape::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.
void wxAutoExcel::wxExcelShape::IncrementTop | ( | double | increment | ) |
Moves the specified shape vertically by the specified number of points.
void wxAutoExcel::wxExcelShape::PickUp | ( | ) |
Copies the formatting of the specified shape.
Use the Apply method to apply the copied formatting to another shape.
void wxAutoExcel::wxExcelShape::RerouteConnections | ( | ) |
This method reroutes all connectors attached to the specified shape; if the specified shape is a connector, it’s rerouted.
void wxAutoExcel::wxExcelShape::ScaleHeight | ( | double | factor, |
MsoTriState | relativeToOriginalSize, | ||
MsoScaleFrom * | scale | ||
) |
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.
void wxAutoExcel::wxExcelShape::ScaleWidth | ( | double | factor, |
MsoTriState | relativeToOriginalSize, | ||
MsoScaleFrom * | scale | ||
) |
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.
void wxAutoExcel::wxExcelShape::Select | ( | wxXlTribool | replace = wxDefaultXlTribool | ) |
Selects the object.
void wxAutoExcel::wxExcelShape::SetShapesDefaultProperties | ( | ) |
Makes the formatting of the specified shape the default formatting for the shape.
wxExcelShapeRange wxAutoExcel::wxExcelShape::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.
void wxAutoExcel::wxExcelShape::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).
wxExcelAdjustments wxAutoExcel::wxExcelShape::GetAdjustments | ( | ) |
Returns an Adjustments object that contains adjustment values for all the adjustments in the specified shape.
Applies to any Shape Represents an AutoShape, WordArt, or a connector.
wxString wxAutoExcel::wxExcelShape::GetAlternativeText | ( | ) |
Returns the descriptive (alternative) text string for a Shape object when the object is saved to a Web page.
void wxAutoExcel::wxExcelShape::SetAlternativeText | ( | const wxString & | alternativeText | ) |
Sets the descriptive (alternative) text string for a Shape object when the object is saved to a Web page.
MsoAutoShapeType wxAutoExcel::wxExcelShape::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.
void wxAutoExcel::wxExcelShape::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.
MsoBackgroundStyleIndex wxAutoExcel::wxExcelShape::GetBackgroundStyle | ( | ) |
MsoBlackWhiteMode wxAutoExcel::wxExcelShape::GetBlackWhiteMode | ( | ) |
Returns a value that indicates how the specified shape appears when the presentation is viewed in black-and-white mode.
Read/write MsoBlackWhiteMode.
void wxAutoExcel::wxExcelShape::SetBlackWhiteMode | ( | MsoBlackWhiteMode | blackWhiteMode | ) |
Sets a value that indicates how the specified shape appears when the presentation is viewed in black-and-white mode.
Read/write MsoBlackWhiteMode.
wxExcelRange wxAutoExcel::wxExcelShape::GetBottomRightCell | ( | ) |
Returns a Range Represents the cell that lies under the lower-right corner of the object.
wxExcelCalloutFormat wxAutoExcel::wxExcelShape::GetCallout | ( | ) |
Returns a CalloutFormat object that contains callout formatting properties for the specified shape.
Applies to a Shape object that represent line callouts.
wxExcelChart wxAutoExcel::wxExcelShape::GetChart | ( | ) |
Read-only Since Excel 2007.
MsoTriState wxAutoExcel::wxExcelShape::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.
long wxAutoExcel::wxExcelShape::GetConnectionSiteCount | ( | ) |
Returns the number of connection sites on the specified shape.
MsoTriState wxAutoExcel::wxExcelShape::GetConnector | ( | ) |
True if the specified shape is a connector.
Read-only MsoTriState.
wxExcelConnectorFormat wxAutoExcel::wxExcelShape::GetConnectorFormat | ( | ) |
Returns a ConnectorFormat object that contains connector formatting properties.
Applies to a Shape that represent connectors.
wxExcelControlFormat wxAutoExcel::wxExcelShape::GetControlFormat | ( | ) |
Returns a ControlFormat object that contains Microsoft Excel control properties.
wxExcelFillFormat wxAutoExcel::wxExcelShape::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.
XlFormControl wxAutoExcel::wxExcelShape::GetFormControlType | ( | ) |
Returns the Microsoft Excel control type.
Read-only XlFormControl.
wxExcelGlowFormat wxAutoExcel::wxExcelShape::GetGlow | ( | ) |
GlowFormat Since Excel 2007.
MsoGraphicStyleIndex wxAutoExcel::wxExcelShape::GetGraphicStyle | ( | ) |
Returns an MsoGraphicStyleIndex constant that represents the style of an SVG graphic.
void wxAutoExcel::wxExcelShape::SetGraphicStyle | ( | MsoGraphicStyleIndex | graphicStyle | ) |
Sets an MsoGraphicStyleIndex constant that represents the style of an SVG graphic.
wxExcelGroupShapes wxAutoExcel::wxExcelShape::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 Shape objects that represent grouped shapes.
MsoTriState wxAutoExcel::wxExcelShape::GetHasChart | ( | ) |
double wxAutoExcel::wxExcelShape::GetHeight | ( | ) |
Returns a Single value that represents the height, in points, of the object.
MsoTriState wxAutoExcel::wxExcelShape::GetHorizontalFlip | ( | ) |
True if the specified shape is flipped around the horizontal axis.
Read-only MsoTriState.
wxExcelHyperlink wxAutoExcel::wxExcelShape::GetHyperlink | ( | ) |
Returns a Hyperlink Represents the hyperlink for the shape.
long wxAutoExcel::wxExcelShape::GetID | ( | ) |
Returns a Long value that represents the type for the specified object.
double wxAutoExcel::wxExcelShape::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).
wxExcelLineFormat wxAutoExcel::wxExcelShape::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).
wxExcelLinkFormat wxAutoExcel::wxExcelShape::GetLinkFormat | ( | ) |
Returns a LinkFormat object that contains linked OLE object properties.
MsoTriState wxAutoExcel::wxExcelShape::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.
void wxAutoExcel::wxExcelShape::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.
bool wxAutoExcel::wxExcelShape::GetLocked | ( | ) |
Returns a Boolean value that indicates if the object is locked.
void wxAutoExcel::wxExcelShape::SetLocked | ( | bool | locked | ) |
Sets a Boolean value that indicates if the object is locked.
wxExcelModel3DFormat wxAutoExcel::wxExcelShape::GetModel3D | ( | ) |
Returns a Model3DFormat object that contains Model3D properties.
wxString wxAutoExcel::wxExcelShape::GetName | ( | ) |
Returns a String value representing the name of the object.
wxExcelShapeNodes wxAutoExcel::wxExcelShape::GetNodes | ( | ) |
Returns a ShapeNodes collection that represents the geometric description of the specified shape.
wxExcelOLEFormat wxAutoExcel::wxExcelShape::GetOLEFormat | ( | ) |
Returns an OLEFormat object that contains OLE object properties.
wxString wxAutoExcel::wxExcelShape::GetOnAction | ( | ) |
Returns the name of a macro that’s run when the specified object is clicked.
void wxAutoExcel::wxExcelShape::SetOnAction | ( | const wxString & | onAction | ) |
Sets the name of a macro that’s run when the specified object is clicked.
wxExcelShape wxAutoExcel::wxExcelShape::GetParentGroup | ( | ) |
Returns a Shape Represents the common parent shape of a child shape or a range of child shapes.
wxExcelPictureFormat wxAutoExcel::wxExcelShape::GetPictureFormat | ( | ) |
Returns a PictureFormat object that contains picture formatting properties for the specified shape.
Applies to a Shape object that represent pictures or OLE objects.
XlPlacement wxAutoExcel::wxExcelShape::GetPlacement | ( | ) |
Returns an XlPlacement value that represents the way the object is attached to the cells below it.
void wxAutoExcel::wxExcelShape::SetPlacement | ( | XlPlacement | placement | ) |
Sets an XlPlacement value that represents the way the object is attached to the cells below it.
wxExcelReflectionFormat wxAutoExcel::wxExcelShape::GetReflection | ( | ) |
ReflectionFormat Since Excel 2007.
double wxAutoExcel::wxExcelShape::GetRotation | ( | ) |
Returns the rotation of the shape, in degrees.
Read/write Single.
void wxAutoExcel::wxExcelShape::SetRotation | ( | double | rotation | ) |
Sets the rotation of the shape, in degrees.
Read/write Single.
wxExcelShadowFormat wxAutoExcel::wxExcelShape::GetShadow | ( | ) |
Returns a read-only ShadowFormat object that contains shadow formatting properties for the specified shape or shapes.
MsoShapeStyleIndex wxAutoExcel::wxExcelShape::GetShapeStyle | ( | ) |
void wxAutoExcel::wxExcelShape::SetShapeStyle | ( | MsoShapeStyleIndex | shapeStyle | ) |
wxExcelSoftEdgeFormat wxAutoExcel::wxExcelShape::GetSoftEdge | ( | ) |
SoftEdgeFormat Since Excel 2007.
wxExcelTextEffectFormat wxAutoExcel::wxExcelShape::GetTextEffect | ( | ) |
Returns a TextEffectFormat object that contains text-effect formatting properties for the specified shape.
wxExcelTextFrame wxAutoExcel::wxExcelShape::GetTextFrame | ( | ) |
Returns a TextFrame object that contains the alignment and anchoring properties for the specified shape.
wxExcelTextFrame2 wxAutoExcel::wxExcelShape::GetTextFrame2 | ( | ) |
TextFrame2 Since Excel 2007.
wxExcelThreeDFormat wxAutoExcel::wxExcelShape::GetThreeD | ( | ) |
Returns a ThreeDFormat object that contains 3-D – effect formatting properties for the specified shape.
double wxAutoExcel::wxExcelShape::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.
void wxAutoExcel::wxExcelShape::SetTop | ( | double | top | ) |
Sets 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.
wxExcelRange wxAutoExcel::wxExcelShape::GetTopLeftCell | ( | ) |
Returns a Range Represents the cell that lies under the upper-left corner of the specified object.
MsoShapeType wxAutoExcel::wxExcelShape::GetType | ( | ) |
Returns a MsoShapeType value that represents the shape type.
MsoTriState wxAutoExcel::wxExcelShape::GetVerticalFlip | ( | ) |
True if the specified shape is flipped around the vertical axis.
Read-only MsoTriState.
wxVector<wxPoint2DDouble> wxAutoExcel::wxExcelShape::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.
MsoTriState wxAutoExcel::wxExcelShape::GetVisible | ( | ) |
Returns a MsoTriState value that determines whether the object is visible.
void wxAutoExcel::wxExcelShape::SetVisible | ( | MsoTriState | visible | ) |
Sets a MsoTriState value that determines whether the object is visible.
double wxAutoExcel::wxExcelShape::GetWidth | ( | ) |
Returns a Single value that represents the width, in points, of the object.
void wxAutoExcel::wxExcelShape::SetWidth | ( | double | width | ) |
Sets a Single value that represents the width, in points, of the object.
long wxAutoExcel::wxExcelShape::GetZOrderPosition | ( | ) |
Returns the position of the specified shape in the z-order.Read-only.
|
inlinevirtual |
Returns "Shape".
Reimplemented from wxAutoExcel::wxExcelObject.