Specifies alignment of content within a layout rectangle.

Namespace:  C1.Silverlight.Pdf
Assembly:  C1.Silverlight.Pdf (in C1.Silverlight.Pdf.dll)

Syntax

C#
public enum ContentAlignment
Visual Basic
Public Enumeration ContentAlignment

Members

Member nameValueDescription
TopLeft1 Content is rendered on the top-left corner of the layout rectangle.
TopCenter2 Content is centered on the top edge of the layout rectangle.
TopRight4 Content is rendered on the top-right corner of the layout rectangle.
MiddleLeft16 Content is centered on the left edge of the layout rectangle.
MiddleCenter32 Content is centered on the layout rectangle.
MiddleRight64 Content is centered on the right edge of the layout rectangle.
BottomLeft256 Content is rendered on the bottom left corner of the layout rectangle.
BottomCenter512 Content is centered on the bottom edge of the layout rectangle.
BottomRight1024 Content is rendered on the bottom right corner of the layout rectangle.

See Also