RenderOptions.GetBitmapScalingMode(DependencyObject) 메서드

정의

지정된 종속성 개체의 BitmapScalingMode 연결된 속성 값을 반환합니다.

public:
 static System::Windows::Media::BitmapScalingMode GetBitmapScalingMode(System::Windows::DependencyObject ^ target);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))]
public static System.Windows.Media.BitmapScalingMode GetBitmapScalingMode(System.Windows.DependencyObject target);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Windows.DependencyObject))>]
static member GetBitmapScalingMode : System.Windows.DependencyObject -> System.Windows.Media.BitmapScalingMode
Public Shared Function GetBitmapScalingMode (target As DependencyObject) As BitmapScalingMode

매개 변수

target
DependencyObject

연결된 속성의 BitmapScalingMode 값을 검색할 종속성 개체입니다.

반품

지정된 종속성 개체에 BitmapScalingMode 대한 연결된 속성의 현재 값입니다.

특성

예외

지정된 target 값은 .입니다 null.

예제

다음 예제에서는 이미지 개체에 대 한 가져오는 BitmapScalingMode 방법을 보여 있습니다.

// Get the bitmap scaling mode for the image.
BitmapScalingMode bitmapScalingMode = RenderOptions.GetBitmapScalingMode(MyImage);
' Get the bitmap scaling mode for the image.
Dim bitmapScalingMode As BitmapScalingMode = RenderOptions.GetBitmapScalingMode(MyImage)

적용 대상

추가 정보