BitmapTransform class

0 out of 3 rated this helpful - Rate this topic

Contains transformations that can be applied to pixel data.

Syntax


var bitmapTransform = new Windows.Graphics.Imaging.BitmapTransform();

Attributes

ActivatableAttribute(NTDDI_WIN8)
MarshalingBehaviorAttribute(Agile)
VersionAttribute(NTDDI_WIN8)

Members

The BitmapTransform class has these types of members:

Constructors

The BitmapTransform class has these constructors.

ConstructorDescription
BitmapTransform Creates a new BitmapTransform object.

 

Methods

The BitmapTransform class inherits methods from the Object class (C#/VB/C++).

Properties

The BitmapTransform class has these properties.

PropertyAccess typeDescription

Bounds

Read/writeSpecifies the bounding rectangle that is used to crop the bitmap.

Flip

Read/writeSpecifies the flip operation that is used to transform the bitmap.

InterpolationMode

Read/writeSpecifies the interpolation mode that is used to scale the bitmap.

Rotation

Read/writeSpecifies the rotation operation that is used to transform the bitmap.

ScaledHeight

Read/writeSpecifies the height, in pixels, of the transformed bitmap.

ScaledWidth

Read/writeSpecifies the width, in pixels, of the transformed bitmap.

 

Remarks

When more than one transform operation is set, the order of transform operations is:

  1. Scaling
  2. Rotation and Flip
  3. Cropping

The default values of BitmapTransform result in a pass-through operation.

Calling this method with pbBuffer set to NULL will cause it to return the required buffer size in pcbActual.

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

Namespace

Windows.Graphics.Imaging
Windows::Graphics::Imaging [C++]

Metadata

Windows.winmd

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.