다음을 통해 공유


BodyProperties.TopInset Property

Definition

Top Inset

Represents the following attribute in the schema: tIns

[DocumentFormat.OpenXml.SchemaAttr(0, "tIns")]
public DocumentFormat.OpenXml.Int32Value TopInset { get; set; }
public DocumentFormat.OpenXml.Int32Value TopInset { get; set; }
[DocumentFormat.OpenXml.SchemaAttr(0, "tIns")]
public DocumentFormat.OpenXml.Int32Value? TopInset { get; set; }
[DocumentFormat.OpenXml.SchemaAttr("tIns")]
public DocumentFormat.OpenXml.Int32Value? TopInset { get; set; }
public DocumentFormat.OpenXml.Int32Value? TopInset { get; set; }
member this.TopInset : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr(0, "tIns")>]
member this.TopInset : DocumentFormat.OpenXml.Int32Value with get, set
[<DocumentFormat.OpenXml.SchemaAttr("tIns")>]
member this.TopInset : DocumentFormat.OpenXml.Int32Value with get, set
Public Property TopInset As Int32Value

Property Value

Returns Int32Value.

Attributes

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.

Applies to