Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Show:
© 2015 Microsoft