| Visual Basic (Usage) |  Copy Code | 
|---|---|
 | |
Parameters
- height
 - New height in pixels.
 
| Visual Basic |  Copy Code | 
|---|---|
Public Sub ChangeHeightExample() | |
| C# |  Copy Code | 
|---|---|
public void ChangeHeightExample()  | |
You can use this method in a callback routine to adjust the allocation when loading an image of unknown height. 
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family