Share via


BodyProperties.RightInset Property

Right Inset.Represents the attribte in schema: rIns

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

Syntax

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

value = instance.RightInset

instance.RightInset = value
[SchemaAttrAttribute(, "rIns")]
public Int32Value RightInset { 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 right 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