Partager via


Frame.HorizontalPosition Property

Returns or sets the horizontal distance between the edge of the frame and the item specified by the RelativeHorizontalPosition property.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Property HorizontalPosition As Single
    Get
    Set
'Usage
Dim instance As Frame
Dim value As Single

value = instance.HorizontalPosition

instance.HorizontalPosition = value
float HorizontalPosition { get; set; }

Property Value

Type: System.Single

Remarks

The HorizontalPosition property can be a number that indicates a measurement in points, or can be one of the following WdFramePosition constants: wdFrameLeft, wdFrameRight, wdFrameCenter, wdFrameInside, or wdFrameOutside.

See Also

Reference

Frame Interface

Frame Members

Microsoft.Office.Interop.Word Namespace