Returns current bitmap height in pixels.
Namespace: Aurigma.GraphicsMill
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property Height As Integer |
| C# |
|---|
public int Height { get; } |
| Visual C++ |
|---|
public:
property int Height {
int get ();
} |
Property Value
Height of the bitmap in pixels.
Examples
| | Copy Code |
|---|
Console.WriteLine("Bitmap: " & bitmap.Width & " x " & bitmap.Height)
Dim bitmapData As Aurigma.GraphicsMill.BitmapData = bitmap.LockBits(20, 20, 150, 100)
Console.WriteLine("BitmapData: " & bitmapData.Width & " x " & bitmapData.Height)
bitmap.UnlockBits(bitmapData)
|
| | Copy Code |
|---|
Console.WriteLine("Bitmap: " + bitmap.Width + " x " + bitmap.Height);
Aurigma.GraphicsMill.BitmapData bitmapData = bitmap.LockBits(20, 20, 150, 100);
Console.WriteLine("BitmapData: " + bitmapData.Width + " x " + bitmapData.Height);
bitmap.UnlockBits(bitmapData);
|
See Also