編輯

共用方式為


Shape Interface

Definition

Reserved for internal use.

public interface class Shape : Microsoft::Office::Core::_IMsoDispObj
[System.Runtime.InteropServices.Guid("000C031C-0000-0000-C000-000000000046")]
public interface Shape : Microsoft.Office.Core._IMsoDispObj
[<System.Runtime.InteropServices.Guid("000C031C-0000-0000-C000-000000000046")>]
type Shape = interface
    interface _IMsoDispObj
Public Interface Shape
Implements _IMsoDispObj
Attributes
Implements

Properties

Adjustments
AlternativeText
Application
AutoShapeType
BackgroundStyle

Returns or sets the background style. Read/write.

BlackWhiteMode
Callout
CanvasItems
Chart

Returns the chart contained in the shape. Read-only.

Child
ConnectionSiteCount
Connector
ConnectorFormat
Creator
Diagram
DiagramNode
Fill
Glow

Returns a GlowFormat object for a specified shape that contains glow formatting properties for the shape. Read-only.

GroupItems
HasChart

Returns whether a shape contains a chart. Read-only.

HasDiagram
HasDiagramNode
HasSmartArt
Height
HorizontalFlip
Id
Left
Line
LockAspectRatio
Name
Nodes
Parent
ParentGroup
PictureFormat
Reflection

Returns a ReflectionFormat object for a specified shape that contains reflection formatting properties for the shape. Read-only.

Rotation
RTF
Script
Shadow
ShapeStyle

Returns or sets an MsoShapeStyleIndex that represents the shape style of shape range. Read/write.

SmartArt

Gets top-level class for interacting with a SmartArt graphic.

SoftEdge

Returns a SoftEdgeFormat object for a specified shape that contains soft edge formatting properties for the shape. Read-only.

TextEffect
TextFrame
TextFrame2

Returns a TextFrame2 object that contains text formatting for the specified shape. Read-only.

ThreeD
Title

Sets or gets the title of a file dialog box displayed using the Microsoft.SharePoint.SPViewFlags.FileDialog object.

Top
Type
VerticalFlip
Vertices
Visible
Width
ZOrderPosition

Methods

Apply()
CanvasCropBottom(Single)
CanvasCropLeft(Single)
CanvasCropRight(Single)
CanvasCropTop(Single)
ConvertTextToSmartArt(SmartArtLayout)
Copy()

Copies the object to the Clipboard.

Cut()

Cuts the object to the Clipboard or pastes it into a specified destination.

Delete()
Duplicate()
Flip(MsoFlipCmd)
IncrementLeft(Single)
IncrementRotation(Single)
IncrementTop(Single)
PickUp()
RerouteConnections()
ScaleHeight(Single, MsoTriState, MsoScaleFrom)
ScaleWidth(Single, MsoTriState, MsoScaleFrom)
Select(Object)
SetShapesDefaultProperties()
Ungroup()
ZOrder(MsoZOrderCmd)

Applies to