DpiHelper.DpiHelperImplementation.GetBitmapScalingModeOverride 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取位图缩放模式替代。
protected:
override System::Windows::Media::BitmapScalingMode GetBitmapScalingModeOverride(int dpiScalePercent, System::Windows::Media::BitmapScalingMode defaultBitmapScalingMode);
protected override System.Windows.Media.BitmapScalingMode GetBitmapScalingModeOverride (int dpiScalePercent, System.Windows.Media.BitmapScalingMode defaultBitmapScalingMode);
override this.GetBitmapScalingModeOverride : int * System.Windows.Media.BitmapScalingMode -> System.Windows.Media.BitmapScalingMode
Protected Overrides Function GetBitmapScalingModeOverride (dpiScalePercent As Integer, defaultBitmapScalingMode As BitmapScalingMode) As BitmapScalingMode
参数
- dpiScalePercent
- Int32
DPI 比例百分比。
- defaultBitmapScalingMode
- BitmapScalingMode
默认位图缩放模式。