BitmapSizeOptions BitmapSizeOptions BitmapSizeOptions BitmapSizeOptions Class

Definition

Defines size-related attributes of a cached bitmap image. A bitmap is scaled based on values that are defined by this class.

public ref class BitmapSizeOptions
public class BitmapSizeOptions
type BitmapSizeOptions = class
Public Class BitmapSizeOptions
Inheritance
BitmapSizeOptionsBitmapSizeOptionsBitmapSizeOptionsBitmapSizeOptions

Properties

PixelHeight PixelHeight PixelHeight PixelHeight

The height, in pixels, of the bitmap image.

PixelWidth PixelWidth PixelWidth PixelWidth

The width, in pixels, of the bitmap image.

PreservesAspectRatio PreservesAspectRatio PreservesAspectRatio PreservesAspectRatio

Gets a value that determines whether the aspect ratio of the original bitmap image is preserved.

Rotation Rotation Rotation Rotation

Gets a value that represents the rotation angle that is applied to a bitmap.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
FromEmptyOptions() FromEmptyOptions() FromEmptyOptions() FromEmptyOptions()

Initializes a new instance of BitmapSizeOptions with empty sizing properties.

FromHeight(Int32) FromHeight(Int32) FromHeight(Int32) FromHeight(Int32)

Initializes an instance of BitmapSizeOptions that preserves the aspect ratio of the source bitmap and specifies an initial PixelHeight.

FromRotation(Rotation) FromRotation(Rotation) FromRotation(Rotation) FromRotation(Rotation)

Initializes an instance of BitmapSizeOptions that preserves the aspect ratio of the source bitmap and specifies an initial Rotation to apply.

FromWidth(Int32) FromWidth(Int32) FromWidth(Int32) FromWidth(Int32)

Initializes an instance of BitmapSizeOptions that preserves the aspect ratio of the source bitmap and specifies an initial PixelWidth.

FromWidthAndHeight(Int32, Int32) FromWidthAndHeight(Int32, Int32) FromWidthAndHeight(Int32, Int32) FromWidthAndHeight(Int32, Int32)

Initializes an instance of BitmapSizeOptions that does not preserve the original bitmap aspect ratio.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to

See also