This topic has not yet been rated - Rate this topic

BitmapSizeOptions Members

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

The following tables list the members exposed by the BitmapSizeOptions type.

  Name Description
Public property PixelHeight The height, in pixels, of the bitmap image.
Public property PixelWidth The width, in pixels, of the bitmap image.
Public property PreservesAspectRatio Gets a value that determines whether the aspect ratio of the original bitmap image is preserved.
Public property Rotation Gets a value that represents the rotation angle that is applied to a bitmap.
Top
(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static FromEmptyOptions Initializes a new instance of BitmapSizeOptions with empty sizing properties.
Public method Static FromHeight Initializes an instance of BitmapSizeOptions that preserves the aspect ratio of the source bitmap and specifies an initial PixelHeight.
Public method Static FromRotation Initializes an instance of BitmapSizeOptions that preserves the aspect ratio of the source bitmap and specifies an initial Rotation to apply.
Public method Static FromWidth Initializes an instance of BitmapSizeOptions that preserves the aspect ratio of the source bitmap and specifies an initial PixelWidth.
Public method Static FromWidthAndHeight Initializes an instance of BitmapSizeOptions that does not preserve the original bitmap aspect ratio.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top
  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.