Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ObjectType

ObjectType enumeration

Applies to: desktop apps only

The ObjectType enumeration indicates the object type value of an EMF+ record.

Syntax

typedef enum  {
  ObjectTypeInvalid,
  ObjectTypeBrush,
  ObjectTypePen,
  ObjectTypePath,
  ObjectTypeRegion,
  ObjectTypeFont,
  ObjectTypeStringFormat,
  ObjectTypeImageAttributes,
  ObjectTypeCustomLineCap,
  ObjectTypeGraphics,
  ObjectTypeMax               = ObjectTypeGraphics,
  ObjectTypeMin               = ObjectTypeBrush 
} ObjectType;

Constants

ObjectTypeInvalid

Object type is invalid.

ObjectTypeBrush

Object type is a brush.

ObjectTypePen

Object type is a pen.

ObjectTypePath

Object type is a path.

ObjectTypeRegion

Object type is a region.

ObjectTypeFont

Object type is a font.

ObjectTypeStringFormat

Object type is a string format.

ObjectTypeImageAttributes

Object type is an image attribute.

ObjectTypeCustomLineCap

Object type is a custom line cap.

ObjectTypeGraphics

Object type is graphics.

ObjectTypeMax

Maximum enumeration value. Currently, it is ObjectTypeGraphics.

ObjectTypeMin

Minimum enumeration value. Currently, it is ObjectTypeBrush.

Remarks

To determine whether the object type value of an EMF+ record is valid, call ObjectTypeIsValid.

Requirements

Minimum supported client

Windows Vista

Minimum supported server

Windows Server 2008

Product

GDI+ 1.1

Header

Gdiplusenums.h (include Gdiplus.h)

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Community Additions

ADD
Show:
© 2015 Microsoft