EmfPlusObjectType

EmfPlusObjectType enumeration

The ObjectType enumeration defines types of graphics objects that can be created and used in graphics operations.

public enum EmfPlusObjectType : byte

Values

Name Value Description
ObjectTypeInvalid 0 The object is not a valid object.
ObjectTypeBrush 1 Specifies an EmfPlusBrush object (section 2.2.1.1). Brush objects fill graphics regions.
ObjectTypePen 2 Specifies an EmfPlusPen object (section 2.2.1.7). Pen objects draw graphics lines.
ObjectTypePath 3 Specifies an EmfPlusPath object (section 2.2.1.6). Path objects specify sequences of lines, curves, and shapes.
ObjectTypeRegion 4 Specifies an EmfPlusRegion object (section 2.2.1.8). Region objects specify areas of the output surface.
ObjectTypeImage 5 Specifies an EmfPlusImage object (section 2.2.1.4). Image objects encapsulate bitmaps and metafiles.
ObjectTypeFont 6 Specifies an EmfPlusFont object (section 2.2.1.3). Font objects specify font properties, including typeface style, EM size, and font family.
ObjectTypeStringFormat 7 Specifies an EmfPlusStringFormat object (section 2.2.1.9). String format objects specify text layout, including alignment, orientation, tab stops, clipping, and digit substitution for languages that do not use Western European digits.
ObjectTypeImageAttributes 8 Specifies an EmfPlusImageAttributes object (section 2.2.1.5). Image attribute objects specify operations on pixels during image rendering, including color adjustment, grayscale adjustment, gamma correction, and color mapping.
ObjectTypeCustomLineCap 9 Specifies an EmfPlusCustomLineCap object (section 2.2.1.2). Custom line cap objects specify shapes to draw at the ends of a graphics line, including squares, circles, and diamonds.

See Also