次の方法で共有


BodyProperties.TopInset Property

Top Inset.Represents the attribte in schema: tIns

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

Syntax

'宣言
<SchemaAttrAttribute(, "tIns")> _
Public Property TopInset As Int32Value
    Get
    Set
'使用
Dim instance As BodyProperties
Dim value As Int32Value

value = instance.TopInset

instance.TopInset = value
[SchemaAttrAttribute(, "tIns")]
public Int32Value TopInset { 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 top 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 45720, meaning 0.05 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