BodyProperties.LeftInset Property

Left Inset.Represents the attribte in schema: lIns

Namespace:  DocumentFormat.OpenXml.Drawing
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

'Declaration
<SchemaAttrAttribute(, "lIns")> _
Public Property LeftInset As Int32Value
    Get
    Set
'Usage
Dim instance As BodyProperties
Dim value As Int32Value

value = instance.LeftInset

instance.LeftInset = value
[SchemaAttrAttribute(, "lIns")]
public Int32Value LeftInset { get; set; }

Property Value

Type: DocumentFormat.OpenXml.Int32Value
Returns Int32Value.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the left inset of the bounding rectangle. Insets are used just as internal margins for text boxes within shapes. If this attribute is omitted, then a value of 91440, meaning 0.1 inches, is implied.

Consider the following DrawingML:

<p:txBody>
  <a:bodyPr lIns="91440" tIns="91440" rIns="91440" 
    bIns="91440" … />
  …
</p:txBody>

The text box having the above body properties will have inset margins of 91440, or 0.1 inches, on all four sides.

The possible values for this attribute are defined by the ST_Coordinate32 simple type.

See Also

Reference

BodyProperties Class

BodyProperties Members

DocumentFormat.OpenXml.Drawing Namespace