←Select platform

VerticalAlignment Enumeration

Summary

Specifies the vertical alignment of content within cells in an Excel sheet.

Syntax

C#
C++/CLI
Python
public enum VerticalAlignment 
public: 
   enum class VerticalAlignment sealed 
class VerticalAlignment(Enum): 
   None = 0 
   Top = 1 
   Center = 2 
   Bottom = 3 

Members
Value Name Description
0 None Applies the default vertical alignment as determined by the cell format settings.
1 Top Aligns cell content to the top of the cell, leaving any additional space at the bottom.
2 Center Centers cell content vertically within the cell, distributing space evenly above and below the content.
3 Bottom Aligns cell content to the bottom of the cell, leaving any additional space at the top.

Requirements

Target Platforms

See Also

Leadtools.Document.LEADOffice.Sheet Namespace

Help Version 23.0.2024.4.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Document.LEADOffice Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.