GpObjectType enumeration

Indicates the type of the object that an EMF+ record holds.

The function ObjectTypeIsValid tells whether a value is in the range from ObjectTypeMin to ObjectTypeMax.

Member Value Description
ObjectTypeInvalid 0 The object type is not valid.
ObjectTypeBrush 1 A brush.
ObjectTypePen 2 A pen.
ObjectTypePath 3 A path.
ObjectTypeRegion 4 A region.
ObjectTypeImage 5 An image.
ObjectTypeFont 6 A font.
ObjectTypeStringFormat 7 A string format.
ObjectTypeImageAttributes 8 An image attributes object.
ObjectTypeCustomLineCap 9 A custom line cap.
ObjectTypeGraphics 10 A graphics object.
ObjectTypeMax 10 The highest object type, same as ObjectTypeGraphics.
ObjectTypeMin 1 The lowest object type, same as ObjectTypeBrush.

Used by

See Also

  • ObjectType – Microsoft’s documentation of the GDI+ enumeration
  • Enumerations – all the enumerations of the package