Look up ScaleMode in MSDN.