Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ObjectType enumeration indicates the object type value of an EMF+ record.
Syntax
typedef enum ObjectType {
ObjectTypeInvalid,
ObjectTypeBrush,
ObjectTypePen,
ObjectTypePath,
ObjectTypeRegion,
ObjectTypeImage,
ObjectTypeFont,
ObjectTypeStringFormat,
ObjectTypeImageAttributes,
ObjectTypeCustomLineCap,
ObjectTypeGraphics,
ObjectTypeMax,
ObjectTypeMin
} ;
Constants
ObjectTypeInvalidObject type is invalid. |
ObjectTypeBrushObject type is a brush. |
ObjectTypePenObject type is a pen. |
ObjectTypePathObject type is a path. |
ObjectTypeRegionObject type is a region. |
ObjectTypeImage |
ObjectTypeFontObject type is a font. |
ObjectTypeStringFormatObject type is a string format. |
ObjectTypeImageAttributesObject type is an image attribute. |
ObjectTypeCustomLineCapObject type is a custom line cap. |
ObjectTypeGraphicsObject type is graphics. |
ObjectTypeMaxMaximum enumeration value. Currently, it is ObjectTypeGraphics. |
ObjectTypeMinMinimum enumeration value. Currently, it is ObjectTypeBrush. |
Remarks
To determine whether the object type value of an EMF+ record is valid, call ObjectTypeIsValid.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows Vista [desktop apps only] |
| Minimum supported server | Windows Server 2008 [desktop apps only] |
| Header | gdiplusenums.h (include Gdiplus.h) |