Cette documentation est archivée et n’est pas conservée.

TextFrame.MarginRight Property

Returns or sets the distance (in points) between the right edge of the text frame and the right edge of the inscribed rectangle of the shape that contains the text.

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

Dim textFrame1 As TextFrame

Dim returnValue As Single
returnValue = textFrame1.MarginRight

Dim sampleValue As Single
textFrame1.MarginRight = sampleValue

float MarginRight {get; set;}
public float get_MarginRight();
public void set_MarginRight(float);
function get MarginRight() : float;
function set MarginRight(float);

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