(0) exportieren Drucken
Alle erweitern
Adjustments Property
AlternativeText Property
Anchor Property
Application Property
AutoShapeType Property
Callout Property
CanvasItems Property
Child Property
ConnectionSiteCount Property
Connector Property
ConnectorFormat Property
Creator Property
Diagram Property
DiagramNode Property
Fill Property
GroupItems Property
HasDiagram Property
HasDiagramNode Property
Height Property
HorizontalFlip Property
Hyperlink Property
ID Property
LayoutInCell Property
Left Property
Line Property
LinkFormat Property
LockAnchor Property
LockAspectRatio Property
Name Property
Nodes Property
OLEFormat Property
Parent Property
ParentGroup Property
PictureFormat Property
RelativeHorizontalPosition Property
RelativeVerticalPosition Property
Rotation Property
RTF Property
Script Property
Shadow Property
TextEffect Property
TextFrame Property
ThreeD Property
Top Property
Type Property
VerticalFlip Property
Vertices Property
Visible Property
Width Property
WrapFormat Property
ZOrderPosition Property
Erweitern Minimieren

Shape.Top Property

Returns or sets the vertical position of the specified shape in points.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Dim shape1 As Shape

Dim returnValue As Single
returnValue = shape1.Top

Dim sampleValue As Single
shape1.Top = sampleValue

float Top {get; set;}
public float get_Top();
public void set_Top(float);
function get Top() : float;
function set Top(float);

The position of a shape is measured from the upper-left corner of the shape's bounding box to the shape's anchor. The RelativeVerticalPosition property controls whether the shape's anchor is positioned alongside the line, the paragraph, the margin, or the edge of the page.


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Anzeigen:
© 2014 Microsoft