←Select platform

VerticalAlignment Property

Summary

Gets or sets the vertical alignment of the cell's content to determine the positioning of its content along the vertical axis within the boundaries.

Syntax

C#
C++/CLI
Python
public VerticalAlignment VerticalAlignment { get; set; } 
public:  
   property VerticalAlignment^ VerticalAlignment 
   { 
      VerticalAlignment^ get() 
      void set(VerticalAlignment^ value) 
   } 
VerticalAlignment # get and set (CellStyle) 

Property Value

An enumeration of type VerticalAlignment that specifies the vertical alignment of content within a cell. The options include None, Top, Center, and Bottom. The default value is None, which indicates that the default vertical alignment of the spreadsheet or table is applied.

Remarks

The VerticalAlignment property plays a crucial role in controlling the appearance and readability of cell content within tables or spreadsheets. By adjusting vertical alignment, you can ensure that the content within a cell is positioned in a way that meets the aesthetic and functional requirements of the application.

Requirements

Target Platforms

See Also

CellStyle Class

CellStyle Members

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.