Gets or sets a value that represents the height of a cell in pixels or the number of cells present across the height of the image.
Syntax
| Visual Basic (Declaration) | |
|---|
Public Property CellHeight As Integer |
| Visual Basic (Usage) | Copy Code |
|---|
Dim instance As GlassEffectCommand
Dim value As Integer
instance.CellHeight = value
value = instance.CellHeight
|
| C# | |
|---|
public int CellHeight {get; set;} |
| Managed Extensions for C++ | |
|---|
public: __property int get_CellHeight();
public: __property void set_CellHeight(
int value
); |
| C++/CLI | |
|---|
public:
property int CellHeight {
int get();
void set (int value);
} |
Return Value
Value that represents the height of a cell in pixels or the number of cells present across the height of the image, based on the flags set in the Flags property. The valid range is between 2 and half the image height.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also