## LayoutFlow enum


Determines the flow of the text layout in a textbox.

```cpp
enum class LayoutFlow
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Horizontal | 0 | Text is displayed horizontally. |
| TopToBottomIdeographic | 1 | Ideographic text is displayed vertically. |
| BottomToTop | 2 | Text is displayed vertically. |
| TopToBottom | 3 | Text is displayed vertically. |
| HorizontalIdeographic | 4 | Ideographic text is displayed horizontally. |
| Vertical | 5 | Text is displayed vertically. |


## Examples



Shows how to add text to a text box, and change its orientation 
```cpp
auto doc = System::MakeObject<Aspose::Words::Document>();
auto builder = System::MakeObject<Aspose::Words::DocumentBuilder>(doc);

auto textbox = System::MakeObject<Aspose::Words::Drawing::Shape>(doc, ShapeType::TextBox);
textbox->set_Width(100);
textbox->set_Height(100);
textbox->get_TextBox()->set_LayoutFlow(LayoutFlow::BottomToTop);

textbox->AppendChild<System::SharedPtr<Aspose::Words::Paragraph>>(System::MakeObject<Aspose::Words::Paragraph>(doc));
builder->InsertNode(textbox);

builder->MoveTo(textbox->get_FirstParagraph());
builder->Write(u"This text is flipped 90 degrees to the left.");

doc->Save(get_ArtifactsDir() + u"Drawing.TextBox.docx");
```

## See Also

* Namespace [Aspose::Words::Drawing](../)
* Library [Aspose.Words for C++](../../)
