Export (0) Print
Expand All
Expand Minimize

System.Photo.Orientation

The orientation of the photo when it was taken, as specified in the Exchangeable Image File (EXIF) information and in terms of rows and columns. This allows applications and the Shell to properly orient the image, instead of orienting the pixels and persisting the image in the requested display orientation, which can result in a loss of fidelity. This property is not meant to be displayed in the UI.

propertyDescription
   name = System.Photo.Orientation
   shellPKey = PKEY_Photo_Orientation
   formatID = 14B81DA1-0135-4D31-96D9-6CBFC9671A99
   propID = 274
   searchInfo
      inInvertedIndex = false
      isColumn = true
      isColumnSparse = true
      columnIndexType = NotIndexed
      maxSize = 128
   labelInfo
      label = Orientation
      sortDescription
      invitationText
      hideLabel = false
   typeInfo
      type = UInt16
      groupingRange = Discrete
      isInnate = true
      canBePurged
      multipleValues = false
      isGroup = false
      aggregationType = Default
      isTreeProperty = false
      isViewable = true
      isQueryable = false
      includeInFullTextQuery = false
      conditionType = String
      defaultOperation = Equal
   aliasInfo
      sortByAlias = System.Photo.OrientationText
      additionalSortByAliases = None
   displayInfo
      defaultColumnWidth = 20
      displayType = Enumerated
      alignment = Left
      relativeDescriptionType = General
      defaultSortDirection = Ascending
      stringFormat
         formatAs = General
      booleanFormat
         formatAs = YesNo
      numberFormat
         formatAs = General
         formatDurationAs = hh:mm:ss
      dateTimeFormat
         formatAs = General
         formatTimeAs = ShortTime
         formatDateAs = ShortDate
      enumeratedList
         defaultText
         useValueForDefault = False
         PHOTO_ORIENTATION_NORMAL
            value = 1
            text = Normal
         PHOTO_ORIENTATION_FLIPHORIZONTAL
            value = 2
            text = Flip horizontal
         PHOTO_ORIENTATION_ROTATE180
            value = 3
            text = Rotate 180 degrees
         PHOTO_ORIENTATION_FLIPVERTICAL
            value = 4
            text = Flip vertical
         PHOTO_ORIENTATION_TRANSPOSE
            value = 5
            text = Transpose
         PHOTO_ORIENTATION_ROTATE270
            value = 6
            text = Rotate 270 degrees
         PHOTO_ORIENTATION_TRANSVERSE
            value = 7
            text = Transverse
         PHOTO_ORIENTATION_ROTATE90
            value = 8
            text = Rotate 90 degrees
         enumRange
            minValue
            setValue
            text
      drawControl
         control = Default
      editControl
         control = Default
      filterControl
         control = Default
      queryControl
         control = Default

Remarks

PKEY values are defined in Propkey.h.

Related topics

Exchangeable Image File Format for Digital Still Cameras: Exif Version 2.2
propertyDescription
searchInfo
labelInfo
typeInfo
displayInfo
stringFormat
booleanFormat
numberFormat
dateTimeFormat
enumeratedList
drawControl
editControl
filterControl
queryControl

 

 

Community Additions

ADD
Show:
© 2014 Microsoft