Skip to content

e43f6bb7 a660 1eb2 a039 afc3e211756c

Fernando Garcia edited this page May 8, 2018 · 1 revision

ContentAlignmentModel.Vertical Property

Additional header content

Gets or sets vertical alignment.

Namespace: iTin.Export.Model
Assembly: iTin.Export.Core (in iTin.Export.Core.dll) Version: 1.0.0.0 (1.0.0.0)

Syntax

C#

public KnownVerticalAlignment Vertical { get; set; }

VB

Public Property Vertical As KnownVerticalAlignment
	Get
	Set

Property Value

Type: KnownVerticalAlignment
One of the KnownVerticalAlignment values. The default is Center.

Exceptions

 

Exception Condition
InvalidEnumArgumentException The value specified is outside the range of valid values.

Remarks

ITEE Object Element Usage

<Alignment Vertical="Top|Center|Bottom" .../>

Compatibility table with native writers.

Comma-Separated Values
CsvWriter
Tab-Separated Values
TsvWriter
SQL Script
SqlScriptWriter
XML Spreadsheet 2003
Spreadsheet2003TabularWriter
No has effect No has effect No has effect X
A X value indicates that the writer supports this element.

Examples

In the following example shows how create a new content. XML

<Content Color="DarkBlue">
  <Alignment Horizontal="Left"/>
  <Text/>
</Content>

C#

ContentModel content = new ContentModel
                           {
                               Color = "DarkBlue",
                               DataType = new TextDataTypeModel(),
                               Alignment = new ContentAlignmentModel { Horizontal = KnownHorizontalAlignment.Left }
                           };

See Also

Reference

ContentAlignmentModel Class
iTin.Export.Model Namespace

Clone this wiki locally