VDocs.NET
Back to DOM

DOM.Enums.HorizontalAlignment

Namespace: DOM.Enums

The possible horizontal alignment options for text and other elements.

3 members

Fields

Center

The text or element will be horizontally centered within its container.

Left

The text or element will be aligned to the left side of its container.

Right

The text or element will be aligned to the right side of its container.

VDocs.NET
The .NET Word Document Library

Generate Word
documents.
Not XML.

Create professional documents in .NET without the complexity of OpenXML or Word Interop.

C#VB.NET
var doc = new WordDocument();

doc.AddParagraph()
   .AddText("Invoice")
   .SetHeading(HeadingLevel.Title);

doc.Save("invoice.docx");

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or
Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.