# TextBlock Element

Contains elements that specify the alignment, margins, and default tab stop positions of text in a shape's text block.

## Syntax

    <TextBlock
        [Del]>
    </TextBlock>

## Attributes

Del

Optional boolean. A flag indicating whether the element has been deleted locally. A value of 1 indicates that the element was deleted locally.

## Element properties

Property | Value
--- | ---
Name | TextBlock
Minimum Occurrences | 0
Maximum Occurrences | 1

## Element information

Parent elements

PageSheet

Shape

StyleSheet

DocumentSheet

Child elements

LeftMargin

RightMargin

TopMargin

BottomMargin

VerticalAlign

TextBkgnd

DefaultTabStop

TextDirection

TextBkgndTrans

## Remarks

The TextBlock element is relevant only when contained in a Shape or StyleSheet element. It is ignored when contained in a DocumentSheet or PageSheet element.

## See also

Text Block Format section

©2003-2004 Microsoft Corporation. All rights reserved. Permission to copy, display and distribute this document is available at: http://msdn.microsoft.com/library/en-us/odcXMLRef/html/odcXMLRefLegalNotice.asp