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

NameValueDescription
ObjectTypeInvalid0The object is not a valid object.
ObjectTypeBrush1Specifies an EmfPlusBrush object (section 2.2.1.1). Brush objects fill graphics regions.
ObjectTypePen2Specifies an EmfPlusPen object (section 2.2.1.7). Pen objects draw graphics lines.
ObjectTypePath3Specifies an EmfPlusPath object (section 2.2.1.6). Path objects specify sequences of lines, curves, and shapes.
ObjectTypeRegion4Specifies an EmfPlusRegion object (section 2.2.1.8). Region objects specify areas of the output surface.
ObjectTypeImage5Specifies an EmfPlusImage object (section 2.2.1.4). Image objects encapsulate bitmaps and metafiles.
ObjectTypeFont6Specifies an EmfPlusFont object (section 2.2.1.3). Font objects specify font properties, including typeface style, EM size, and font family.
ObjectTypeStringFormat7Specifies 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.
ObjectTypeImageAttributes8Specifies 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.
ObjectTypeCustomLineCap9Specifies 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