Specifies alignment of content within a layout rectangle.
Namespace:
C1.Silverlight.PdfAssembly: C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)
Syntax
| C# |
|---|
public enum ContentAlignment |
| Visual Basic |
|---|
Public Enumeration ContentAlignment |
Members
| Member name | Value | Description | |
|---|---|---|---|
| TopLeft | 1 | Content is rendered on the top-left corner of the layout rectangle. | |
| TopCenter | 2 | Content is centered on the top edge of the layout rectangle. | |
| TopRight | 4 | Content is rendered on the top-right corner of the layout rectangle. | |
| MiddleLeft | 16 | Content is centered on the left edge of the layout rectangle. | |
| MiddleCenter | 32 | Content is centered on the layout rectangle. | |
| MiddleRight | 64 | Content is centered on the right edge of the layout rectangle. | |
| BottomLeft | 256 | Content is rendered on the bottom left corner of the layout rectangle. | |
| BottomCenter | 512 | Content is centered on the bottom edge of the layout rectangle. | |
| BottomRight | 1024 | Content is rendered on the bottom right corner of the layout rectangle. |