Compartir a través de


TextFrame.AutoMargins Property

True if Microsoft Excel automatically calculates text frame margins.

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

Syntax

'Declaration
Property AutoMargins As Boolean
    Get
    Set
'Usage
Dim instance As TextFrame
Dim value As Boolean

value = instance.AutoMargins

instance.AutoMargins = value
bool AutoMargins { get; set; }

Property Value

Type: System.Boolean

Remarks

When this property is True, the MarginLeft, MarginRight, MarginTop, and MarginBottom properties are ignored.

See Also

Reference

TextFrame Interface

TextFrame Members

Microsoft.Office.Interop.Excel Namespace