readonly int DynamicSprite.Width;
Gets the width of this dynamic sprite. The width is always returned in 320x200-resolution units.
Example:
DynamicSprite* sprite = DynamicSprite.CreateFromFile("CustomAvatar.bmp");
if (sprite != null) {
Display("The image is %d x %d pixels.", sprite.Width, sprite.Height);
sprite.Delete();
}
displays the size of the CustomAvatar.bmp image.
See Also: DynamicSprite.Height,
DynamicSprite.Resize
|