System::Drawing::Imaging Namespace Reference

Classes

class  BitmapData
 
class  ColorMap
 
class  ColorMatrix
 
class  ColorPalette
 
class  Encoder
 
class  EncoderParameter
 
class  EncoderParameters
 
class  FrameDimension
 
class  ImageAttributes
 
class  ImageCodecInfo
 
class  ImageFormat
 
class  Metafile
 
class  MetafileHeader
 
class  PropertyItem
 

Typedefs

typedef SharedPtr< BitmapDataBitmapDataPtr
 
typedef SharedPtr< ColorMapColorMapPtr
 
typedef SharedPtr< ColorMatrixColorMatrixPtr
 
typedef SharedPtr< ColorPaletteColorPalettePtr
 
typedef SharedPtr< EncoderEncoderPtr
 
typedef SharedPtr< EncoderParameterEncoderParameterPtr
 
typedef SharedPtr< EncoderParametersEncoderParametersPtr
 
typedef SharedPtr< FrameDimensionFrameDimensionPtr
 
typedef SharedPtr< ImageAttributesImageAttributesPtr
 
typedef SharedPtr< ImageCodecInfoImageCodecInfoPtr
 
typedef SharedPtr< ImageFormatImageFormatPtr
 
using PlayRecordCallback = MulticastDelegate< void(EmfPlusRecordType, int32_t, int32_t, IntPtr)>
 

Enumerations

enum  ColorAdjustType {
  ColorAdjustType::Default = 0, ColorAdjustType::Bitmap, ColorAdjustType::Brush, ColorAdjustType::Pen,
  ColorAdjustType::Text, ColorAdjustType::Count, ColorAdjustType::Any
}
 
enum  ColorChannelFlag {
  ColorChannelFlag::ColorChannelC = 0, ColorChannelFlag::ColorChannelM = 1, ColorChannelFlag::ColorChannelY = 2, ColorChannelFlag::ColorChannelK = 3,
  ColorChannelFlag::ColorChannelLast = 4
}
 
enum  ColorMatrixFlag { ColorMatrixFlag::Default = 0, ColorMatrixFlag::SkipGrays = 1, ColorMatrixFlag::AltGrays = 2 }
 
enum  EmfPlusRecordType {
  EmfPlusRecordType::EmfHeader = 1, EmfPlusRecordType::EmfMin = 1, EmfPlusRecordType::EmfPolyBezier = 2, EmfPlusRecordType::EmfPolygon = 3,
  EmfPlusRecordType::EmfPolyline = 4, EmfPlusRecordType::EmfPolyBezierTo = 5, EmfPlusRecordType::EmfPolyLineTo = 6, EmfPlusRecordType::EmfPolyPolyline = 7,
  EmfPlusRecordType::EmfPolyPolygon = 8, EmfPlusRecordType::EmfSetWindowExtEx = 9, EmfPlusRecordType::EmfSetWindowOrgEx = 10, EmfPlusRecordType::EmfSetViewportExtEx = 11,
  EmfPlusRecordType::EmfSetViewportOrgEx = 12, EmfPlusRecordType::EmfSetBrushOrgEx = 13, EmfPlusRecordType::EmfEof = 14, EmfPlusRecordType::EmfSetPixelV = 15,
  EmfPlusRecordType::EmfSetMapperFlags = 16, EmfPlusRecordType::EmfSetMapMode = 17, EmfPlusRecordType::EmfSetBkMode = 18, EmfPlusRecordType::EmfSetPolyFillMode = 19,
  EmfPlusRecordType::EmfSetROP2 = 20, EmfPlusRecordType::EmfSetStretchBltMode = 21, EmfPlusRecordType::EmfSetTextAlign = 22, EmfPlusRecordType::EmfSetColorAdjustment = 23,
  EmfPlusRecordType::EmfSetTextColor = 24, EmfPlusRecordType::EmfSetBkColor = 25, EmfPlusRecordType::EmfOffsetClipRgn = 26, EmfPlusRecordType::EmfMoveToEx = 27,
  EmfPlusRecordType::EmfSetMetaRgn = 28, EmfPlusRecordType::EmfExcludeClipRect = 29, EmfPlusRecordType::EmfIntersectClipRect = 30, EmfPlusRecordType::EmfScaleViewportExtEx = 31,
  EmfPlusRecordType::EmfScaleWindowExtEx = 32, EmfPlusRecordType::EmfSaveDC = 33, EmfPlusRecordType::EmfRestoreDC = 34, EmfPlusRecordType::EmfSetWorldTransform = 35,
  EmfPlusRecordType::EmfModifyWorldTransform = 36, EmfPlusRecordType::EmfSelectObject = 37, EmfPlusRecordType::EmfCreatePen = 38, EmfPlusRecordType::EmfCreateBrushIndirect = 39,
  EmfPlusRecordType::EmfDeleteObject = 40, EmfPlusRecordType::EmfAngleArc = 41, EmfPlusRecordType::EmfEllipse = 42, EmfPlusRecordType::EmfRectangle = 43,
  EmfPlusRecordType::EmfRoundRect = 44, EmfPlusRecordType::EmfRoundArc = 45, EmfPlusRecordType::EmfChord = 46, EmfPlusRecordType::EmfPie = 47,
  EmfPlusRecordType::EmfSelectPalette = 48, EmfPlusRecordType::EmfCreatePalette = 49, EmfPlusRecordType::EmfSetPaletteEntries = 50, EmfPlusRecordType::EmfResizePalette = 51,
  EmfPlusRecordType::EmfRealizePalette = 52, EmfPlusRecordType::EmfExtFloodFill = 53, EmfPlusRecordType::EmfLineTo = 54, EmfPlusRecordType::EmfArcTo = 55,
  EmfPlusRecordType::EmfPolyDraw = 56, EmfPlusRecordType::EmfSetArcDirection = 57, EmfPlusRecordType::EmfSetMiterLimit = 58, EmfPlusRecordType::EmfBeginPath = 59,
  EmfPlusRecordType::EmfEndPath = 60, EmfPlusRecordType::EmfCloseFigure = 61, EmfPlusRecordType::EmfFillPath = 62, EmfPlusRecordType::EmfStrokeAndFillPath = 63,
  EmfPlusRecordType::EmfStrokePath = 64, EmfPlusRecordType::EmfFlattenPath = 65, EmfPlusRecordType::EmfWidenPath = 66, EmfPlusRecordType::EmfSelectClipPath = 67,
  EmfPlusRecordType::EmfAbortPath = 68, EmfPlusRecordType::EmfReserved069 = 69, EmfPlusRecordType::EmfGdiComment = 70, EmfPlusRecordType::EmfFillRgn = 71,
  EmfPlusRecordType::EmfFrameRgn = 72, EmfPlusRecordType::EmfInvertRgn = 73, EmfPlusRecordType::EmfPaintRgn = 74, EmfPlusRecordType::EmfExtSelectClipRgn = 75,
  EmfPlusRecordType::EmfBitBlt = 76, EmfPlusRecordType::EmfStretchBlt = 77, EmfPlusRecordType::EmfMaskBlt = 78, EmfPlusRecordType::EmfPlgBlt = 79,
  EmfPlusRecordType::EmfSetDIBitsToDevice = 80, EmfPlusRecordType::EmfStretchDIBits = 81, EmfPlusRecordType::EmfExtCreateFontIndirect = 82, EmfPlusRecordType::EmfExtTextOutA = 83,
  EmfPlusRecordType::EmfExtTextOutW = 84, EmfPlusRecordType::EmfPolyBezier16 = 85, EmfPlusRecordType::EmfPolygon16 = 86, EmfPlusRecordType::EmfPolyline16 = 87,
  EmfPlusRecordType::EmfPolyBezierTo16 = 88, EmfPlusRecordType::EmfPolylineTo16 = 89, EmfPlusRecordType::EmfPolyPolyline16 = 90, EmfPlusRecordType::EmfPolyPolygon16 = 91,
  EmfPlusRecordType::EmfPolyDraw16 = 92, EmfPlusRecordType::EmfCreateMonoBrush = 93, EmfPlusRecordType::EmfCreateDibPatternBrushPt = 94, EmfPlusRecordType::EmfExtCreatePen = 95,
  EmfPlusRecordType::EmfPolyTextOutA = 96, EmfPlusRecordType::EmfPolyTextOutW = 97, EmfPlusRecordType::EmfSetIcmMode = 98, EmfPlusRecordType::EmfCreateColorSpace = 99,
  EmfPlusRecordType::EmfSetColorSpace = 100, EmfPlusRecordType::EmfDeleteColorSpace = 101, EmfPlusRecordType::EmfGlsRecord = 102, EmfPlusRecordType::EmfGlsBoundedRecord = 103,
  EmfPlusRecordType::EmfPixelFormat = 104, EmfPlusRecordType::EmfDrawEscape = 105, EmfPlusRecordType::EmfExtEscape = 106, EmfPlusRecordType::EmfStartDoc = 107,
  EmfPlusRecordType::EmfSmallTextOut = 108, EmfPlusRecordType::EmfForceUfiMapping = 109, EmfPlusRecordType::EmfNamedEscpae = 110, EmfPlusRecordType::EmfColorCorrectPalette = 111,
  EmfPlusRecordType::EmfSetIcmProfileA = 112, EmfPlusRecordType::EmfSetIcmProfileW = 113, EmfPlusRecordType::EmfAlphaBlend = 114, EmfPlusRecordType::EmfSetLayout = 115,
  EmfPlusRecordType::EmfTransparentBlt = 116, EmfPlusRecordType::EmfReserved117 = 117, EmfPlusRecordType::EmfGradientFill = 118, EmfPlusRecordType::EmfSetLinkedUfis = 119,
  EmfPlusRecordType::EmfSetTextJustification = 120, EmfPlusRecordType::EmfColorMatchToTargetW = 121, EmfPlusRecordType::EmfCreateColorSpaceW = 122, EmfPlusRecordType::EmfMax = 122,
  EmfPlusRecordType::EmfPlusRecordBase = 16384, EmfPlusRecordType::Invalid = 16384, EmfPlusRecordType::Header = 16385, EmfPlusRecordType::Min = 16385,
  EmfPlusRecordType::EndOfFile = 16386, EmfPlusRecordType::Comment = 16387, EmfPlusRecordType::GetDC = 16388, EmfPlusRecordType::MultiFormatStart = 16389,
  EmfPlusRecordType::MultiFormatSection = 16390, EmfPlusRecordType::MultiFormatEnd = 16391, EmfPlusRecordType::Object = 16392, EmfPlusRecordType::Clear = 16393,
  EmfPlusRecordType::FillRects = 16394, EmfPlusRecordType::DrawRects = 16395, EmfPlusRecordType::FillPolygon = 16396, EmfPlusRecordType::DrawLines = 16397,
  EmfPlusRecordType::FillEllipse = 16398, EmfPlusRecordType::DrawEllipse = 16399, EmfPlusRecordType::FillPie = 16400, EmfPlusRecordType::DrawPie = 16401,
  EmfPlusRecordType::DrawArc = 16402, EmfPlusRecordType::FillRegion = 16403, EmfPlusRecordType::FillPath = 16404, EmfPlusRecordType::DrawPath = 16405,
  EmfPlusRecordType::FillClosedCurve = 16406, EmfPlusRecordType::DrawClosedCurve = 16407, EmfPlusRecordType::DrawCurve = 16408, EmfPlusRecordType::DrawBeziers = 16409,
  EmfPlusRecordType::DrawImage = 16410, EmfPlusRecordType::DrawImagePoints = 16411, EmfPlusRecordType::DrawString = 16412, EmfPlusRecordType::SetRenderingOrigin = 16413,
  EmfPlusRecordType::SetAntiAliasMode = 16414, EmfPlusRecordType::SetTextRenderingHint = 16415, EmfPlusRecordType::SetTextContrast = 16416, EmfPlusRecordType::SetInterpolationMode = 16417,
  EmfPlusRecordType::SetPixelOffsetMode = 16418, EmfPlusRecordType::SetCompositingMode = 16419, EmfPlusRecordType::SetCompositingQuality = 16420, EmfPlusRecordType::Save = 16421,
  EmfPlusRecordType::Restore = 16422, EmfPlusRecordType::BeginContainer = 16423, EmfPlusRecordType::BeginContainerNoParams = 16424, EmfPlusRecordType::EndContainer = 16425,
  EmfPlusRecordType::SetWorldTransform = 16426, EmfPlusRecordType::ResetWorldTransform = 16427, EmfPlusRecordType::MultiplyWorldTransform = 16428, EmfPlusRecordType::TranslateWorldTransform = 16429,
  EmfPlusRecordType::ScaleWorldTransform = 16430, EmfPlusRecordType::RotateWorldTransform = 16431, EmfPlusRecordType::SetPageTransform = 16432, EmfPlusRecordType::ResetClip = 16433,
  EmfPlusRecordType::SetClipRect = 16434, EmfPlusRecordType::SetClipPath = 16435, EmfPlusRecordType::SetClipRegion = 16436, EmfPlusRecordType::OffsetClip = 16437,
  EmfPlusRecordType::DrawDriverString = 16438, EmfPlusRecordType::Max = 16438, EmfPlusRecordType::Total = 16439, EmfPlusRecordType::WmfRecordBase = 65536,
  EmfPlusRecordType::WmfSaveDC = 65566, EmfPlusRecordType::WmfRealizePalette = 65589, EmfPlusRecordType::WmfSetPalEntries = 65591, EmfPlusRecordType::WmfCreatePalette = 65783,
  EmfPlusRecordType::WmfSetBkMode = 65794, EmfPlusRecordType::WmfSetMapMode = 65795, EmfPlusRecordType::WmfSetROP2 = 65796, EmfPlusRecordType::WmfSetRelAbs = 65797,
  EmfPlusRecordType::WmfSetPolyFillMode = 65798, EmfPlusRecordType::WmfSetStretchBltMode = 65799, EmfPlusRecordType::WmfSetTextCharExtra = 65800, EmfPlusRecordType::WmfRestoreDC = 65831,
  EmfPlusRecordType::WmfInvertRegion = 65834, EmfPlusRecordType::WmfPaintRegion = 65835, EmfPlusRecordType::WmfSelectClipRegion = 65836, EmfPlusRecordType::WmfSelectObject = 65837,
  EmfPlusRecordType::WmfSetTextAlign = 65838, EmfPlusRecordType::WmfResizePalette = 65849, EmfPlusRecordType::WmfDibCreatePatternBrush = 65858, EmfPlusRecordType::WmfSetLayout = 65865,
  EmfPlusRecordType::WmfDeleteObject = 66032, EmfPlusRecordType::WmfCreatePatternBrush = 66041, EmfPlusRecordType::WmfSetBkColor = 66049, EmfPlusRecordType::WmfSetTextColor = 66057,
  EmfPlusRecordType::WmfSetTextJustification = 66058, EmfPlusRecordType::WmfSetWindowOrg = 66059, EmfPlusRecordType::WmfSetWindowExt = 66060, EmfPlusRecordType::WmfSetViewportOrg = 66061,
  EmfPlusRecordType::WmfSetViewportExt = 66062, EmfPlusRecordType::WmfOffsetWindowOrg = 66063, EmfPlusRecordType::WmfOffsetViewportOrg = 66065, EmfPlusRecordType::WmfLineTo = 66067,
  EmfPlusRecordType::WmfMoveTo = 66068, EmfPlusRecordType::WmfOffsetCilpRgn = 66080, EmfPlusRecordType::WmfFillRegion = 66088, EmfPlusRecordType::WmfSetMapperFlags = 66097,
  EmfPlusRecordType::WmfSelectPalette = 66100, EmfPlusRecordType::WmfCreatePenIndirect = 66298, EmfPlusRecordType::WmfCreateFontIndirect = 66299, EmfPlusRecordType::WmfCreateBrushIndirect = 66300,
  EmfPlusRecordType::WmfPolygon = 66340, EmfPlusRecordType::WmfPolyline = 66341, EmfPlusRecordType::WmfScaleWindowExt = 66576, EmfPlusRecordType::WmfScaleViewportExt = 66578,
  EmfPlusRecordType::WmfExcludeClipRect = 66581, EmfPlusRecordType::WmfIntersectClipRect = 66582, EmfPlusRecordType::WmfEllipse = 66584, EmfPlusRecordType::WmfFloodFill = 66585,
  EmfPlusRecordType::WmfRectangle = 66587, EmfPlusRecordType::WmfSetPixel = 66591, EmfPlusRecordType::WmfFrameRegion = 66601, EmfPlusRecordType::WmfAnimatePalette = 66614,
  EmfPlusRecordType::WmfTextOut = 66849, EmfPlusRecordType::WmfPolyPolygon = 66872, EmfPlusRecordType::WmfExtFloodFill = 66888, EmfPlusRecordType::WmfRoundRect = 67100,
  EmfPlusRecordType::WmfPatBlt = 67101, EmfPlusRecordType::WmfEscape = 67110, EmfPlusRecordType::WmfCreateRegion = 67327, EmfPlusRecordType::WmfArc = 67607,
  EmfPlusRecordType::WmfPie = 67610, EmfPlusRecordType::WmfChord = 67632, EmfPlusRecordType::WmfBitBlt = 67874, EmfPlusRecordType::WmfDibBitBlt = 67904,
  EmfPlusRecordType::WmfExtTextOut = 68146, EmfPlusRecordType::WmfStretchBlt = 68387, EmfPlusRecordType::WmfDibStretchBlt = 68417, EmfPlusRecordType::WmfSetDibToDev = 68915,
  EmfPlusRecordType::WmfStretchDib = 69443
}
 
enum  EmfType { EmfType::EmfOnly = (int)MetafileType::Emf, EmfType::EmfPlusOnly = (int)MetafileType::EmfPlusOnly, EmfType::EmfPlusDual = (int)MetafileType::EmfPlusDual }
 
enum  EncoderParameterValueType {
  EncoderParameterValueType::ValueTypeByte = 1, EncoderParameterValueType::ValueTypeAscii = 2, EncoderParameterValueType::ValueTypeShort = 3, EncoderParameterValueType::ValueTypeLong = 4,
  EncoderParameterValueType::ValueTypeRational = 5, EncoderParameterValueType::ValueTypeLongRange = 6, EncoderParameterValueType::ValueTypeUndefined = 7, EncoderParameterValueType::ValueTypeRationalRange = 8
}
 
enum  EncoderValue {
  EncoderValue::ColorTypeCMYK, EncoderValue::ColorTypeYCCK, EncoderValue::CompressionLZW, EncoderValue::CompressionCCITT3,
  EncoderValue::CompressionCCITT4, EncoderValue::CompressionRle, EncoderValue::CompressionNone, EncoderValue::ScanMethodInterlaced,
  EncoderValue::ScanMethodNonInterlaced, EncoderValue::VersionGif87, EncoderValue::VersionGif89, EncoderValue::RenderProgressive,
  EncoderValue::RenderNonProgressive, EncoderValue::TransformRotate90, EncoderValue::TransformRotate180, EncoderValue::TransformRotate270,
  EncoderValue::TransformFlipHorizontal, EncoderValue::TransformFlipVertical, EncoderValue::MultiFrame, EncoderValue::LastFrame,
  EncoderValue::Flush, EncoderValue::FrameDimensionTime, EncoderValue::FrameDimensionResolution, EncoderValue::FrameDimensionPage
}
 
enum  ImageFlags {
  ImageFlags::None = 0, ImageFlags::Scalable = 1, ImageFlags::HasAlpha = 2, ImageFlags::HasTranslucent = 4,
  ImageFlags::PartiallyScalable = 8, ImageFlags::ColorSpaceRgb = 16, ImageFlags::ColorSpaceCmyk = 32, ImageFlags::ColorSpaceGray = 64,
  ImageFlags::ColorSpaceYcbcr = 128, ImageFlags::ColorSpaceYcck = 256, ImageFlags::HasRealDpi = 4096, ImageFlags::HasRealPixelSize = 8192,
  ImageFlags::ReadOnly = 65536, ImageFlags::Caching = 131072
}
 
enum  ImageLockMode { ImageLockMode::ReadOnly = 0x0001, ImageLockMode::WriteOnly = 0x0002, ImageLockMode::ReadWrite = ReadOnly | WriteOnly, ImageLockMode::UserInputBuffer = 0x0004 }
 
enum  MetafileFrameUnit {
  MetafileFrameUnit::Pixel = (int)GraphicsUnit::Pixel, MetafileFrameUnit::Point = (int)GraphicsUnit::Point, MetafileFrameUnit::Inch = (int)GraphicsUnit::Inch, MetafileFrameUnit::Document = (int)GraphicsUnit::Document,
  MetafileFrameUnit::Millimeter = (int)GraphicsUnit::Millimeter, MetafileFrameUnit::GdiCompatible
}
 
enum  MetafileType {
  MetafileType::Invalid, MetafileType::Wmf, MetafileType::WmfPlaceable, MetafileType::Emf,
  MetafileType::EmfPlusOnly, MetafileType::EmfPlusDual
}
 
enum  PixelFormat {
  PixelFormat::Indexed = 0x00010000, PixelFormat::Gdi = 0x00020000, PixelFormat::Alpha = 0x00040000, PixelFormat::PAlpha = 0x00080000,
  PixelFormat::Extended = 0x00100000, PixelFormat::Canonical = 0x00200000, PixelFormat::Undefined = 0, PixelFormat::DontCare = 0,
  PixelFormat::Format1bppIndexed = 1 | (1 << 8) | (int)Indexed | (int)Gdi, PixelFormat::Format4bppIndexed = 2 | (4 << 8) | (int)Indexed | (int)Gdi, PixelFormat::Format8bppIndexed = 3 | (8 << 8) | (int)Indexed | (int)Gdi, PixelFormat::Format16bppGrayScale = 4 | (16 << 8) | (int)Extended,
  PixelFormat::Format16bppRgb555 = 5 | (16 << 8) | (int)Gdi, PixelFormat::Format16bppRgb565 = 6 | (16 << 8) | (int)Gdi, PixelFormat::Format16bppArgb1555 = 7 | (16 << 8) | (int)Alpha | (int)Gdi, PixelFormat::Format24bppRgb = 8 | (24 << 8) | (int)Gdi,
  PixelFormat::Format32bppRgb = 9 | (32 << 8) | (int)Gdi, PixelFormat::Format32bppArgb = 10 | (32 << 8) | (int)Alpha | (int)Gdi | (int)Canonical, PixelFormat::Format32bppPArgb = 11 | (32 << 8) | (int)Alpha | (int)PAlpha | (int)Gdi, PixelFormat::Format48bppRgb = 12 | (48 << 8) | (int)Extended,
  PixelFormat::Format64bppArgb = 13 | (64 << 8) | (int)Alpha | (int)Canonical | (int)Extended, PixelFormat::Format64bppPArgb = 14 | (64 << 8) | (int)Alpha | (int)PAlpha | (int)Extended, PixelFormat::Format32bppCMYK = (15 | (32 << 8)), PixelFormat::Max = 16
}
 

Functions

 DECLARE_ENUM_OPERATORS (System::Drawing::Imaging::ImageLockMode)
 
 DECLARE_ENUM_OPERATORS (PixelFormat)
 

Typedef Documentation

◆ BitmapDataPtr

◆ ColorMapPtr

◆ ColorMatrixPtr

◆ ColorPalettePtr

◆ EncoderParameterPtr

◆ EncoderParametersPtr

◆ EncoderPtr

◆ FrameDimensionPtr

◆ ImageAttributesPtr

◆ ImageCodecInfoPtr

◆ ImageFormatPtr

◆ PlayRecordCallback

using System::Drawing::Imaging::PlayRecordCallback = typedef MulticastDelegate<void(EmfPlusRecordType, int32_t, int32_t, IntPtr)>

Enumeration Type Documentation

◆ ColorAdjustType

Enumerator
Default 

Defines color adjustment information that is used by all GDI+ objects that do not have their own color adjustment information.

Bitmap 

Defines color adjustment information for Bitmap objects.

Brush 

Defines color adjustment information for Brush objects.

Pen 

Defines color adjustment information for Pen objects.

Text 

Defines color adjustment information for text.

Count 

Specifies the number of types specified.

Any 

Specifies the number of types specified.

◆ ColorChannelFlag

Enumerator
ColorChannelC 
ColorChannelM 
ColorChannelY 
ColorChannelK 
ColorChannelLast 

◆ ColorMatrixFlag

Enumerator
Default 

Both colors and grayscale are color-adjusted.

SkipGrays 

Grascale values are not color-adjusted.

AltGrays 

Only grascale values are color-adjusted.

◆ EmfPlusRecordType

Enumerator
EmfHeader 
EmfMin 
EmfPolyBezier 
EmfPolygon 
EmfPolyline 
EmfPolyBezierTo 
EmfPolyLineTo 
EmfPolyPolyline 
EmfPolyPolygon 
EmfSetWindowExtEx 
EmfSetWindowOrgEx 
EmfSetViewportExtEx 
EmfSetViewportOrgEx 
EmfSetBrushOrgEx 
EmfEof 
EmfSetPixelV 
EmfSetMapperFlags 
EmfSetMapMode 
EmfSetBkMode 
EmfSetPolyFillMode 
EmfSetROP2 
EmfSetStretchBltMode 
EmfSetTextAlign 
EmfSetColorAdjustment 
EmfSetTextColor 
EmfSetBkColor 
EmfOffsetClipRgn 
EmfMoveToEx 
EmfSetMetaRgn 
EmfExcludeClipRect 
EmfIntersectClipRect 
EmfScaleViewportExtEx 
EmfScaleWindowExtEx 
EmfSaveDC 
EmfRestoreDC 
EmfSetWorldTransform 
EmfModifyWorldTransform 
EmfSelectObject 
EmfCreatePen 
EmfCreateBrushIndirect 
EmfDeleteObject 
EmfAngleArc 
EmfEllipse 
EmfRectangle 
EmfRoundRect 
EmfRoundArc 
EmfChord 
EmfPie 
EmfSelectPalette 
EmfCreatePalette 
EmfSetPaletteEntries 
EmfResizePalette 
EmfRealizePalette 
EmfExtFloodFill 
EmfLineTo 
EmfArcTo 
EmfPolyDraw 
EmfSetArcDirection 
EmfSetMiterLimit 
EmfBeginPath 
EmfEndPath 
EmfCloseFigure 
EmfFillPath 
EmfStrokeAndFillPath 
EmfStrokePath 
EmfFlattenPath 
EmfWidenPath 
EmfSelectClipPath 
EmfAbortPath 
EmfReserved069 
EmfGdiComment 
EmfFillRgn 
EmfFrameRgn 
EmfInvertRgn 
EmfPaintRgn 
EmfExtSelectClipRgn 
EmfBitBlt 
EmfStretchBlt 
EmfMaskBlt 
EmfPlgBlt 
EmfSetDIBitsToDevice 
EmfStretchDIBits 
EmfExtCreateFontIndirect 
EmfExtTextOutA 
EmfExtTextOutW 
EmfPolyBezier16 
EmfPolygon16 
EmfPolyline16 
EmfPolyBezierTo16 
EmfPolylineTo16 
EmfPolyPolyline16 
EmfPolyPolygon16 
EmfPolyDraw16 
EmfCreateMonoBrush 
EmfCreateDibPatternBrushPt 
EmfExtCreatePen 
EmfPolyTextOutA 
EmfPolyTextOutW 
EmfSetIcmMode 
EmfCreateColorSpace 
EmfSetColorSpace 
EmfDeleteColorSpace 
EmfGlsRecord 
EmfGlsBoundedRecord 
EmfPixelFormat 
EmfDrawEscape 
EmfExtEscape 
EmfStartDoc 
EmfSmallTextOut 
EmfForceUfiMapping 
EmfNamedEscpae 
EmfColorCorrectPalette 
EmfSetIcmProfileA 
EmfSetIcmProfileW 
EmfAlphaBlend 
EmfSetLayout 
EmfTransparentBlt 
EmfReserved117 
EmfGradientFill 
EmfSetLinkedUfis 
EmfSetTextJustification 
EmfColorMatchToTargetW 
EmfCreateColorSpaceW 
EmfMax 
EmfPlusRecordBase 
Invalid 
Header 
Min 
EndOfFile 
Comment 
GetDC 
MultiFormatStart 
MultiFormatSection 
MultiFormatEnd 
Object 
Clear 
FillRects 
DrawRects 
FillPolygon 
DrawLines 
FillEllipse 
DrawEllipse 
FillPie 
DrawPie 
DrawArc 
FillRegion 
FillPath 
DrawPath 
FillClosedCurve 
DrawClosedCurve 
DrawCurve 
DrawBeziers 
DrawImage 
DrawImagePoints 
DrawString 
SetRenderingOrigin 
SetAntiAliasMode 
SetTextRenderingHint 
SetTextContrast 
SetInterpolationMode 
SetPixelOffsetMode 
SetCompositingMode 
SetCompositingQuality 
Save 
Restore 
BeginContainer 
BeginContainerNoParams 
EndContainer 
SetWorldTransform 
ResetWorldTransform 
MultiplyWorldTransform 
TranslateWorldTransform 
ScaleWorldTransform 
RotateWorldTransform 
SetPageTransform 
ResetClip 
SetClipRect 
SetClipPath 
SetClipRegion 
OffsetClip 
DrawDriverString 
Max 
Total 
WmfRecordBase 
WmfSaveDC 
WmfRealizePalette 
WmfSetPalEntries 
WmfCreatePalette 
WmfSetBkMode 
WmfSetMapMode 
WmfSetROP2 
WmfSetRelAbs 
WmfSetPolyFillMode 
WmfSetStretchBltMode 
WmfSetTextCharExtra 
WmfRestoreDC 
WmfInvertRegion 
WmfPaintRegion 
WmfSelectClipRegion 
WmfSelectObject 
WmfSetTextAlign 
WmfResizePalette 
WmfDibCreatePatternBrush 
WmfSetLayout 
WmfDeleteObject 
WmfCreatePatternBrush 
WmfSetBkColor 
WmfSetTextColor 
WmfSetTextJustification 
WmfSetWindowOrg 
WmfSetWindowExt 
WmfSetViewportOrg 
WmfSetViewportExt 
WmfOffsetWindowOrg 
WmfOffsetViewportOrg 
WmfLineTo 
WmfMoveTo 
WmfOffsetCilpRgn 
WmfFillRegion 
WmfSetMapperFlags 
WmfSelectPalette 
WmfCreatePenIndirect 
WmfCreateFontIndirect 
WmfCreateBrushIndirect 
WmfPolygon 
WmfPolyline 
WmfScaleWindowExt 
WmfScaleViewportExt 
WmfExcludeClipRect 
WmfIntersectClipRect 
WmfEllipse 
WmfFloodFill 
WmfRectangle 
WmfSetPixel 
WmfFrameRegion 
WmfAnimatePalette 
WmfTextOut 
WmfPolyPolygon 
WmfExtFloodFill 
WmfRoundRect 
WmfPatBlt 
WmfEscape 
WmfCreateRegion 
WmfArc 
WmfPie 
WmfChord 
WmfBitBlt 
WmfDibBitBlt 
WmfExtTextOut 
WmfStretchBlt 
WmfDibStretchBlt 
WmfSetDibToDev 
WmfStretchDib 

◆ EmfType

Enumerator
EmfOnly 

Windows enhanced metafile. Contains GDI commands. Metafiles of this type are refered to as an EMF file.

EmfPlusOnly 

Windows enhanced metafile plus. Contains GDI+ commands. Metafiles of this type are refered to as an EMF+ file.

EmfPlusDual 

Dual Windows enhanced metafile. Contains equivalent GDI and GDI+ commands. Metafiles of this type are refered to as an EMF+ file.

◆ EncoderParameterValueType

Enumerator
ValueTypeByte 
ValueTypeAscii 
ValueTypeShort 
ValueTypeLong 
ValueTypeRational 
ValueTypeLongRange 
ValueTypeUndefined 
ValueTypeRationalRange 

◆ EncoderValue

Enumerator
ColorTypeCMYK 

Specifies the CMYK color space.

ColorTypeYCCK 

Specifies the YCCK color space.

CompressionLZW 

Specifies the LZW compression method.

CompressionCCITT3 

For a TIFF image, specifies the CCITT3 compression method.

CompressionCCITT4 

For a TIFF image, specifies the CCITT4 compression method.

CompressionRle 

For a TIFF image, specifies the RLE compression method.

CompressionNone 

For a TIFF image, specifies no compression.

ScanMethodInterlaced 

Specifies interlaced mode.

ScanMethodNonInterlaced 

Specifies non-interlaced mode.

VersionGif87 

For a GIF image, specifies version 87.

VersionGif89 

For a GIF images, specifies version 89a.

RenderProgressive 

Specifies progressive mode.

RenderNonProgressive 

Specifies non-progressive mode.

TransformRotate90 

For a JPEG image, specifies lossless 90-degree clockwise rotation.

TransformRotate180 

For a JPEG image, specifies lossless 180-degree rotation.

TransformRotate270 

For a JPEG image, specifies lossless 270-degree clockwise rotation.

TransformFlipHorizontal 

For a JPEG image, specifies a lossless horizontal flip.

TransformFlipVertical 

For a JPEG image, specifies a lossless vertical flip.

MultiFrame 

Specifies multiframe encoding.

LastFrame 

Specifies the last frame of a multi-frame image.

Flush 

Specifies that the encoder object is to be closed.

FrameDimensionTime 

For a GIF image, specifies the time frame dimension.

FrameDimensionResolution 

Specifies the resolution frame dimension.

FrameDimensionPage 

For a TIFF image, specifies the page frame dimension.

◆ ImageFlags

Enumerator
None 
Scalable 
HasAlpha 
HasTranslucent 
PartiallyScalable 
ColorSpaceRgb 
ColorSpaceCmyk 
ColorSpaceGray 
ColorSpaceYcbcr 
ColorSpaceYcck 
HasRealDpi 
HasRealPixelSize 
ReadOnly 
Caching 

◆ ImageLockMode

Enumerator
ReadOnly 

Specifies the image is read-only.

WriteOnly 

Specifies the image is write-only.

ReadWrite 

Specifies the image is read-write.

UserInputBuffer 

Indicates the image resides in a user input buffer, to which the user controls access.

◆ MetafileFrameUnit

Enumerator
Pixel 

Specifies a pixel as the unit of measure.

Point 

Specifies a printer's point as the unit of measure.

Inch 

Specifies an inch as the unit of measure.

Document 

Specifies 1/300 of an inch as the unit of measure.

Millimeter 

Specifies a millimeter as the unit of measure.

GdiCompatible 

Specifies .01 millimeter as the unit of measure. Provided for compatibility with GDI.

◆ MetafileType

Enumerator
Invalid 
Wmf 
WmfPlaceable 
Emf 
EmfPlusOnly 
EmfPlusDual 

◆ PixelFormat

Enumerator
Indexed 

Specifies that pixel data contains color indexed values which means they are an index to colors in the system color table, as opposed to individual color values.

Gdi 

Specifies that pixel data contains GDI colors.

Alpha 

Specifies that pixel data contains alpha values that are not pre-multiplied.

PAlpha 

Specifies that pixel format contains pre-multipled alpha values.

Extended 

Reserved.

Canonical 

The default pixel format of 32 bits per pixel. The format specifies 24-bit color depth and an 8-bit alpha channel.

Undefined 

Specifies that pixel format is undefined.

DontCare 

Specifies that pixel format is a don't care.

Format1bppIndexed 

Specifies thatpixel format is 1 bit per pixel indexed color. The color table therefore has two colors in it.

Format4bppIndexed 

Specifies that pixel format is 4 bits per pixel indexed color. The color table therefore has 16 colors in it.

Format8bppIndexed 

Specifies that pixel format is 8 bits per pixel indexed color. The color table therefore has 256 colors in it.

Format16bppGrayScale 

The pixel format is 16 bits per pixel. The color information specifies 65536 shades of gray.

Format16bppRgb555 

Specifies that the format is 16 bits per pixel; 5 bits each are used for the red, green, and blue components. The remaining bit is not used.

Format16bppRgb565 

Specifies that pixel format is 16 bits per pixel. The color information specifies 32768 shades of color of which 5 bits are red, 5 bits are green and 5 bits are blue.

Format16bppArgb1555 

Specifies that pixel format is 16 bits per pixel. The color information specifies 32768 shades of color of which 5 bits are red, 5 bits are green, 5 bits are blue and 1 bit is alpha.

Format24bppRgb 

Specifies that pixel format is 24 bits per pixel. The color information specifies 16777216 shades of color of which 8 bits are red, 8 bits are green and 8 bits are blue.

Format32bppRgb 

Specifies that pixel format is 24 bits per pixel. The color information specifies 16777216 shades of color of which 8 bits are red, 8 bits are green and 8 bits are blue.

Format32bppArgb 

Specifies that pixel format is 32 bits per pixel. The color information specifies 16777216 shades of color of which 8 bits are red, 8 bits are green and 8 bits are blue. The 8 additional bits are alpha bits.

Format32bppPArgb 

Specifies that pixel format is 32 bits per pixel. The color information specifies 16777216 shades of color of which 8 bits are red, 8 bits are green and 8 bits are blue. The 8 additional bits are pre-multiplied alpha bits. .

Format48bppRgb 

Specifies that pixel format is 48 bits per pixel. The color information specifies 16777216 shades of color of which 8 bits are red, 8 bits are green and 8 bits are blue. The 8 additional bits are alpha bits.

Format64bppArgb 

Specifies pixel format is 64 bits per pixel. The color information specifies 16777216 shades of color of which 16 bits are red, 16 bits are green and 16 bits are blue. The 16 additional bits are alpha bits.

Format64bppPArgb 

Specifies that pixel format is 64 bits per pixel. The color information specifies 16777216 shades of color of which 16 bits are red, 16 bits are green and 16 bits are blue. The 16 additional bits are pre-multiplied alpha bits.

Format32bppCMYK 

Specifies that pixel format is 64 bits per pixel. The color information specifies 16777216 shades of color of which 16 bits are red, 16 bits are green and 16 bits are blue. The 16 additional bits are alpha bits.

Max 

Function Documentation

◆ DECLARE_ENUM_OPERATORS() [1/2]

System::Drawing::Imaging::DECLARE_ENUM_OPERATORS ( System::Drawing::Imaging::ImageLockMode  )

◆ DECLARE_ENUM_OPERATORS() [2/2]

System::Drawing::Imaging::DECLARE_ENUM_OPERATORS ( PixelFormat  )