Asposecpplib
System::Drawing::Imaging Namespace Reference

Classes

class  BitmapData
 Represents a set of attributes of a bitmap image. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  ColorMap
 Represents a map for converting colors. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  ColorMatrix
 Represents a 5x5 matrix that contains the coordinates for the RGBAW color space. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  ColorPalette
 Represents a set of 32-bit ARGB colors that make up a color palette. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  Encoder
 Represents a GUID that is associated with a set of image encoder parameters. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  EncoderParameter
 Serves as a container used to pass values to an image encoder. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  EncoderParameters
 Represents an array of EncoderParameter objects. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  FrameDimension
 Provides properties that get the frame dimensions of an image. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  ImageAttributes
 Represents information about how image colors are manipulated during rendering. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  ImageCodecInfo
 Provides information about an image codec. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  ImageFormat
 Represents the file format of an image. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  Metafile
 Represents a graphic metafile. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  MetafileHeader
 Contains attributes associated with a graphic metafile. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 
class  PropertyItem
 Represents a metadata property to be included in an image file. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument. More...
 

Typedefs

typedef SharedPtr< BitmapDataBitmapDataPtr
 An alias for a shared pointer to an instance of BitmapData class. More...
 
typedef SharedPtr< ColorMapColorMapPtr
 An alias for a shared pointer to an instance of ColorMap class. More...
 
typedef SharedPtr< ColorMatrixColorMatrixPtr
 An alias for a shared pointer to an instance of the ColorMatrix class. More...
 
typedef SharedPtr< ColorPaletteColorPalettePtr
 An alias for a shared pointer to an instance of the ColorPalette class. More...
 
typedef SharedPtr< EncoderEncoderPtr
 An alias for a shared pointer to an instance of Encoder class. More...
 
typedef SharedPtr< EncoderParameterEncoderParameterPtr
 An alias for a shared pointer to an instance of EncoderParameter class. More...
 
typedef SharedPtr< EncoderParametersEncoderParametersPtr
 An alias for a shared pointer to an instance of EncoderParameters class. More...
 
typedef SharedPtr< FrameDimensionFrameDimensionPtr
 An alias for a shared pointer to an instance of FrameDimension class. More...
 
typedef SharedPtr< ImageAttributesImageAttributesPtr
 An aliast for a shared pointer to an instance of the ImageAttributes class. More...
 
typedef SharedPtr< ImageCodecInfoImageCodecInfoPtr
 An alias for a shared pointer to an instance of ImageCodecInfo class. More...
 
typedef SharedPtr< ImageFormatImageFormatPtr
 An alias for a shared pointer to an instance of ImageFormat class. More...
 
using PlayRecordCallback = MulticastDelegate< void(EmfPlusRecordType, int32_t, int32_t, IntPtr)>
 A delegate used as a parameter in EnumerateMetafileProc function object. More...
 

Enumerations

enum  ColorAdjustType {
  ColorAdjustType::Default = 0, ColorAdjustType::Bitmap, ColorAdjustType::Brush, ColorAdjustType::Pen,
  ColorAdjustType::Text, ColorAdjustType::Count, ColorAdjustType::Any
}
 Specifies which objects use color adjustment information. More...
 
enum  ColorChannelFlag {
  ColorChannelFlag::ColorChannelC = 0, ColorChannelFlag::ColorChannelM = 1, ColorChannelFlag::ColorChannelY = 2, ColorChannelFlag::ColorChannelK = 3,
  ColorChannelFlag::ColorChannelLast = 4
}
 Specifies a color channel in CMYK color space. More...
 
enum  ColorMatrixFlag { ColorMatrixFlag::Default = 0, ColorMatrixFlag::SkipGrays = 1, ColorMatrixFlag::AltGrays = 2 }
 Specifies the types of images and colors that will be affected by the color and grayscale adjustment settings of an ImageAttributes object. More...
 
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
}
 Represents the methods that can be used with a metafile to read and write graphic commands. More...
 
enum  EmfType { EmfType::EmfOnly = (int)MetafileType::Emf, EmfType::EmfPlusOnly = (int)MetafileType::EmfPlusOnly, EmfType::EmfPlusDual = (int)MetafileType::EmfPlusDual }
 Specifies the types of the records that are placed in an EMF file. More...
 
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
}
 Specifies the type of a value represented by EncoderParameter class. More...
 
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
}
 Specifies the parameter value passed to a JPEG or TIFF image encoder. More...
 
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
}
 Represents attributes of the pixel data represented by an Image object. More...
 
enum  ImageLockMode { ImageLockMode::ReadOnly = 0x0001, ImageLockMode::WriteOnly = 0x0002, ImageLockMode::ReadWrite = ReadOnly | WriteOnly, ImageLockMode::UserInputBuffer = 0x0004 }
 Specifies properties of the region of an image being locked. More...
 
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
}
 Specifies the unit of measurement for the rectangle used to size and position a metafile. More...
 
enum  MetafileType {
  MetafileType::Invalid, MetafileType::Wmf, MetafileType::WmfPlaceable, MetafileType::Emf,
  MetafileType::EmfPlusOnly, MetafileType::EmfPlusDual
}
 Represents a type of a graphic metafile. More...
 
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
}
 Specifies the color data format of a pixel. More...
 

Functions

 DECLARE_ENUM_OPERATORS (System::Drawing::Imaging::ImageLockMode)
 Declaration of template arithmetic operators for values of ImageLockMode enum type. More...
 
 DECLARE_ENUM_OPERATORS (PixelFormat)
 Declaration of template arithmetic operators for values of PixelFormat enum type. More...
 

Typedef Documentation

◆ BitmapDataPtr

An alias for a shared pointer to an instance of BitmapData class.

◆ ColorMapPtr

An alias for a shared pointer to an instance of ColorMap class.

◆ ColorMatrixPtr

An alias for a shared pointer to an instance of the ColorMatrix class.

◆ ColorPalettePtr

An alias for a shared pointer to an instance of the ColorPalette class.

◆ EncoderParameterPtr

An alias for a shared pointer to an instance of EncoderParameter class.

◆ EncoderParametersPtr

An alias for a shared pointer to an instance of EncoderParameters class.

◆ EncoderPtr

An alias for a shared pointer to an instance of Encoder class.

◆ FrameDimensionPtr

An alias for a shared pointer to an instance of FrameDimension class.

◆ ImageAttributesPtr

An aliast for a shared pointer to an instance of the ImageAttributes class.

◆ ImageCodecInfoPtr

An alias for a shared pointer to an instance of ImageCodecInfo class.

◆ ImageFormatPtr

An alias for a shared pointer to an instance of ImageFormat class.

◆ PlayRecordCallback

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

A delegate used as a parameter in EnumerateMetafileProc function object.

Enumeration Type Documentation

◆ ColorAdjustType

Specifies which objects use color adjustment information.

Enumerator
Default 

Defines color adjustment information that is used by all 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

Specifies a color channel in CMYK color space.

Enumerator
ColorChannelC 

The cyan color channel.

ColorChannelM 

The magenta color channel.

ColorChannelY 

The yellow color channel.

ColorChannelK 

The black color channel.

ColorChannelLast 

The last selected channel should be used.

◆ ColorMatrixFlag

Specifies the types of images and colors that will be affected by the color and grayscale adjustment settings of an ImageAttributes object.

Enumerator
Default 

Both colors and grayscale values are color-adjusted.

SkipGrays 

Grayscale values are not color-adjusted.

AltGrays 

Only grayscale values are color-adjusted.

◆ EmfPlusRecordType

Represents the methods that can be used with a metafile to read and write graphic commands.

Enumerator
EmfHeader 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfMin 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyBezier 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolygon 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyline 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyBezierTo 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyLineTo 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyPolyline 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyPolygon 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetWindowExtEx 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetWindowOrgEx 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetViewportExtEx 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetViewportOrgEx 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetBrushOrgEx 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfEof 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetPixelV 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetMapperFlags 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetMapMode 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetBkMode 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetPolyFillMode 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetROP2 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetStretchBltMode 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetTextAlign 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetColorAdjustment 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetTextColor 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetBkColor 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfOffsetClipRgn 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfMoveToEx 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetMetaRgn 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfExcludeClipRect 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfIntersectClipRect 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfScaleViewportExtEx 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfScaleWindowExtEx 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSaveDC 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfRestoreDC 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetWorldTransform 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfModifyWorldTransform 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSelectObject 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfCreatePen 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfCreateBrushIndirect 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfDeleteObject 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfAngleArc 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfEllipse 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfRectangle 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfRoundRect 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfRoundArc 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfChord 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPie 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSelectPalette 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfCreatePalette 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetPaletteEntries 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfResizePalette 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfRealizePalette 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfExtFloodFill 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfLineTo 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfArcTo 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyDraw 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetArcDirection 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetMiterLimit 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfBeginPath 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfEndPath 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfCloseFigure 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfFillPath 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfStrokeAndFillPath 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfStrokePath 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfFlattenPath 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfWidenPath 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSelectClipPath 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfAbortPath 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfReserved069 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfGdiComment 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfFillRgn 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfFrameRgn 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfInvertRgn 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPaintRgn 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfExtSelectClipRgn 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfBitBlt 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfStretchBlt 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfMaskBlt 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPlgBlt 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetDIBitsToDevice 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfStretchDIBits 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfExtCreateFontIndirect 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfExtTextOutA 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfExtTextOutW 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyBezier16 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolygon16 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyline16 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyBezierTo16 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolylineTo16 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyPolyline16 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyPolygon16 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyDraw16 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfCreateMonoBrush 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfCreateDibPatternBrushPt 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfExtCreatePen 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyTextOutA 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPolyTextOutW 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetIcmMode 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfCreateColorSpace 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetColorSpace 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfDeleteColorSpace 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfGlsRecord 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfGlsBoundedRecord 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPixelFormat 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfDrawEscape 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfExtEscape 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfStartDoc 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSmallTextOut 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfForceUfiMapping 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfNamedEscpae 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfColorCorrectPalette 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetIcmProfileA 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetIcmProfileW 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfAlphaBlend 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetLayout 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfTransparentBlt 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfReserved117 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfGradientFill 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetLinkedUfis 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfSetTextJustification 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfColorMatchToTargetW 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfCreateColorSpaceW 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfMax 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

EmfPlusRecordBase 

Refer to "Enhanced-Format Metafiles" in the GDI section of the MSDN Library.

Invalid 

Invalid data.

Header 

Identifies a record that is the EMF+ header.

Min 

The minimum value for this enumeration.

EndOfFile 

Identifies a record that marks the last EMF+ record of a metafile.

Comment 

Refer to System::Drawing::Graphics::AddMetafileComment(System::Byte[]).

GetDC 

Refer to System::Drawing::Graphics::GetHdc.

MultiFormatStart 

Marks the start of a multiple-format section.

MultiFormatSection 

Marks a multiple-format section.

MultiFormatEnd 

Marks the end of a multiple-format section.

Object 

Marks an object.

Clear 

Refer to System::Drawing::Graphics::Clear(System::Drawing::Color).

FillRects 

Refer to Overload:System::Drawing::Graphics::FillRectangles methods.

DrawRects 

Refer to Overload:System::Drawing::Graphics::DrawRectangles methods.

FillPolygon 

Refer to Overload:System::Drawing::Graphics::FillPolygon methods.

DrawLines 

Refer to Overload:System::Drawing::Graphics::DrawLines methods.

FillEllipse 

Refer to Overload:System::Drawing::Graphics::FillEllipse methods.

DrawEllipse 

Refer to Overload:System::Drawing::Graphics::DrawEllipse methods.

FillPie 

Refer to Overload:System::Drawing::Graphics::FillPie methods.

DrawPie 

Refer to Overload:System::Drawing::Graphics::DrawPie methods.

DrawArc 

Refer to Overload:System::Drawing::Graphics::DrawArc methods.

FillRegion 

Refer to System::Drawing::Graphics::FillRegion(System::Drawing::Brush,System::Drawing::Region).

FillPath 

Refer to System::Drawing::Graphics::FillPath(System::Drawing::Brush,System::Drawing::Drawing2D::GraphicsPath).

DrawPath 

Refer to System::Drawing::Graphics::DrawPath(System::Drawing::Pen,System::Drawing::Drawing2D::GraphicsPath).

FillClosedCurve 

Refer to Overload:System::Drawing::Graphics::FillClosedCurve methods.

DrawClosedCurve 

Refer to Overload:System::Drawing::Graphics::DrawClosedCurve methods.

DrawCurve 

Refer to Overload:System::Drawing::Graphics::DrawCurve methods.

DrawBeziers 

Refer to Overload:System::Drawing::Graphics::DrawBeziers methods.

DrawImage 

Refer to Overload:System::Drawing::Graphics::DrawImage methods.

DrawImagePoints 

Refer to Overload:System::Drawing::Graphics::DrawImage methods.

DrawString 

Refer to Overload:System::Drawing::Graphics::DrawString methods.

SetRenderingOrigin 

Refer to System::Drawing::Graphics::RenderingOrigin.

SetAntiAliasMode 

Refer to System::Drawing::Graphics::SmoothingMode.

SetTextRenderingHint 

Refer to System::Drawing::Graphics::TextRenderingHint.

SetTextContrast 

Refer to System::Drawing::Graphics::TextContrast.

SetInterpolationMode 

Refer to System::Drawing::Graphics::InterpolationMode.

SetPixelOffsetMode 

Refer to System::Drawing::Graphics::PixelOffsetMode.

SetCompositingMode 

Refer to System::Drawing::Graphics::CompositingMode.

SetCompositingQuality 

Refer to System::Drawing::Graphics::CompositingQuality.

Save 

Refer to System::Drawing::Graphics::Save.

Restore 

Refer to System::Drawing::Graphics::Restore(System::Drawing::Drawing2D::GraphicsState).

BeginContainer 

Refer to System::Drawing::Graphics::BeginContainer methods.

BeginContainerNoParams 

Refer to System::Drawing::Graphics::BeginContainer methods.

EndContainer 

Refer to System::Drawing::Graphics::EndContainer(System::Drawing::Drawing2D::GraphicsContainer).

SetWorldTransform 

Refer to Overload:System::Drawing::Graphics::TransformPoints methods.

ResetWorldTransform 

Refer to System::Drawing::Graphics::ResetTransform.

MultiplyWorldTransform 

Refer to Overload:System::Drawing::Graphics::MultiplyTransform methods.

TranslateWorldTransform 

Refer to Overload:System::Drawing::Graphics::TransformPoints methods.

ScaleWorldTransform 

Refer to Overload:System::Drawing::Graphics::ScaleTransform methods.

RotateWorldTransform 

Refer to Overload:System::Drawing::Graphics::RotateTransform methods.

SetPageTransform 

Refer to Overload:System::Drawing::Graphics::TransformPoints methods.

ResetClip 

Refer to System::Drawing::Graphics::ResetClip.

SetClipRect 

Refer to Overload:System::Drawing::Graphics::SetClip methods.

SetClipPath 

Refer to Overload:System::Drawing::Graphics::SetClip methods.

SetClipRegion 

Refer to Overload:System::Drawing::Graphics::SetClip methods.

OffsetClip 

Refer to Overload:System::Drawing::Graphics::TranslateClip methods.

DrawDriverString 

Specifies a character string, a location, and formatting information.

Max 

The maximum value for this enumeration.

Total 

Used internally.

WmfRecordBase 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSaveDC 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfRealizePalette 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetPalEntries 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfCreatePalette 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetBkMode 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetMapMode 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetROP2 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetRelAbs 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetPolyFillMode 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetStretchBltMode 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetTextCharExtra 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfRestoreDC 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfInvertRegion 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfPaintRegion 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSelectClipRegion 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSelectObject 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetTextAlign 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfResizePalette 

Increases or decreases the size of a logical palette based on the specified value.

WmfDibCreatePatternBrush 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetLayout 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfDeleteObject 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfCreatePatternBrush 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetBkColor 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetTextColor 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetTextJustification 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetWindowOrg 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetWindowExt 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetViewportOrg 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetViewportExt 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfOffsetWindowOrg 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfOffsetViewportOrg 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfLineTo 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfMoveTo 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfOffsetCilpRgn 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfFillRegion 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetMapperFlags 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSelectPalette 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfCreatePenIndirect 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfCreateFontIndirect 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfCreateBrushIndirect 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfPolygon 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfPolyline 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfScaleWindowExt 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfScaleViewportExt 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfExcludeClipRect 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfIntersectClipRect 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfEllipse 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfFloodFill 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfRectangle 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetPixel 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfFrameRegion 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfAnimatePalette 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfTextOut 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfPolyPolygon 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfExtFloodFill 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfRoundRect 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfPatBlt 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfEscape 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfCreateRegion 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfArc 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfPie 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfChord 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfBitBlt 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfDibBitBlt 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfExtTextOut 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfStretchBlt 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfDibStretchBlt 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfSetDibToDev 

Refer to "Windows-Format Metafiles" in the GDI section of the MSDN Library.

WmfStretchDib 

Copies the color data for a rectangle of pixels in a DIB to the specified destination rectangle.

◆ EmfType

Specifies the types of the records that are placed in an EMF file.

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

Specifies the type of a value represented by EncoderParameter class.

Enumerator
ValueTypeByte 

An 8-bit unsigned integer.

ValueTypeAscii 

An 8-bit unsigned integer containing one 7-bit ASCII.

ValueTypeShort 

A 16-bit unsigned integer.

ValueTypeLong 

A 32-bit unsigned integer.

ValueTypeRational 

A fraction specified by two longs - numerator and denominator.

ValueTypeLongRange 

A range of integers.

ValueTypeUndefined 
ValueTypeRationalRange 

A range of fractions.

◆ EncoderValue

Specifies the parameter value passed to a JPEG or TIFF image encoder.

Enumerator
ColorTypeCMYK 

The CMYK color space.

ColorTypeYCCK 

The YCCK color space.

CompressionLZW 

The LZW compression method.

CompressionCCITT3 

Specifies the CCITT3 compression method for a TIFF image.

CompressionCCITT4 

Specifies the CCITT4 compression method for a TIFF image.

CompressionRle 

Specifies he RLE compression method for a TIFF image.

CompressionNone 

Specifies no compression for a TIFF image.

ScanMethodInterlaced 

Interlaced mode.

ScanMethodNonInterlaced 

Non-interlaced mode.

VersionGif87 

Specifies version 87 for a TIFF image.

VersionGif89 

Specifies version 89a for a GIF image.

RenderProgressive 

Progressive mode.

RenderNonProgressive 

Non-progressive mode.

TransformRotate90 

Specifies lossless 90-degree clockwise rotation for a JPEG image.

TransformRotate180 

Specifies lossless 180-degree rotation for a JPEG image.

TransformRotate270 

Specifies lossless 270-degree clockwise rotation for a JPEG image.

TransformFlipHorizontal 

Specifies a lossless horizontal flip for a JPEG image.

TransformFlipVertical 

Specifies a lossless vertical flip for a JPEG image.

MultiFrame 

Multiframe encoding.

LastFrame 

The last frame of a multiframe image.

Flush 

The encoder object is to be closed.

FrameDimensionTime 

Specifies the time frame dimension for a GIF image.

FrameDimensionResolution 

The resolution frame dimension.

FrameDimensionPage 

Specifies the page frame dimension for a TIFF image.

◆ ImageFlags

Represents attributes of the pixel data represented by an Image object.

Enumerator
None 
Scalable 

Scalable.

HasAlpha 

Contains alpha information.

HasTranslucent 

There are alpha values greater than 0 and less than 255.

PartiallyScalable 
ColorSpaceRgb 

The pixel data is represented in RGB color space.

ColorSpaceCmyk 

The pixel data is represented in CMYK color space.

ColorSpaceGray 

The pixel data is grayscale.

ColorSpaceYcbcr 

The pixel data is represented in YCBCR color space.

ColorSpaceYcck 

The pixel data is represented in YCCK color space.

HasRealDpi 

The DPI information is stored in the image.

HasRealPixelSize 

The size of a pixel is stored in the image.

ReadOnly 

The pixel data is read-only.

Caching 

Can be cached for faster access.

◆ ImageLockMode

Specifies properties of the region of an image being locked.

Enumerator
ReadOnly 

The region is locked only for reading.

WriteOnly 

The region is locked only for writing.

ReadWrite 

The region is locked both for reading and writing.

UserInputBuffer 

The image resides in a user input buffer, access to which is controlled by the user.

◆ MetafileFrameUnit

Specifies the unit of measurement for the rectangle used to size and position a metafile.

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

Represents a type of a graphic metafile.

Enumerator
Invalid 

Invalid metafile.

Wmf 

Standard WMF.

WmfPlaceable 

Placeable Metafile format.

Emf 

EMF (not EMF+).

EmfPlusOnly 

EMF+ without dual, down-level records.

EmfPlusDual 

EMF+ with dual, down-level records.

◆ PixelFormat

Specifies the color data format of a pixel.

Enumerator
Indexed 

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

Gdi 

Specifies that the pixel data contains GDI colors.

Alpha 

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

PAlpha 

Specifies that the pixel data contains pre-multipled alpha values.

Extended 

Reserved.

Canonical 

Specifies the pixel format of 32 bits per pixel with 24-bit color depth and an 8-bit alpha channel.

Undefined 

Specifies that the pixel format is undefined.

DontCare 

The pixel format is not specified.

Format1bppIndexed 

Specifies that pixel format is 1 bit per pixel indexed color.

Format4bppIndexed 

Specifies that pixel format is 4 bits per pixel indexed color.

Format8bppIndexed 

Specifies that pixel format is 8 bits per pixel indexed color.

Format16bppGrayScale 

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

Format16bppRgb555 

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

Format16bppRgb565 

Specifies that the pixel format is 16 bits per pixel with 5 bits for red, 6 bits for green and 5 bits for blue components.

Format16bppArgb1555 

Specifies that the pixel format is 16 bits per pixel with 5 bits for each of red, green, and blue components and 1 bit for alpha.

Format24bppRgb 

Specifies that the pixel format is 24 bits per pixel with 8 bits for each of red, green, and blue components.

Format32bppRgb 

Specifies that the pixel format is 32 bits per pixel with 8 bits for each of red, green, and blue components and remaining 8 bits not used.

Format32bppArgb 

Specifies that the pixel format is 32 bits per pixel with 8 bits for each of red, green, and blue components and 8 bits for alpha.

Format32bppPArgb 

Specifies that the pixel format is 32 bits per pixel with 8 bits for each of red, green, and blue components and 8 bits for alpha. The red, green and blue components are pre-multiplied according to the value of alpha component.

Format48bppRgb 

Specifies that the pixel format is 48 bits per pixel with 16 bits for each of red, green, and blue components.

Format64bppArgb 

Specifies that the pixel format is 64 bits per pixel with 16 bits for each of red, green, and blue components and 16 bits for alpha.

Format64bppPArgb 

Specifies that the pixel format is 64 bits per pixel with 16 bits for each of red, green, and blue components and 16 bits for alpha. The red, green and blue components are pre-multiplied according to the value of alpha component.

Format32bppCMYK 

Specifies that the pixel format is 32 bits per pixel with 8 bits for each of the cyan, magenta, yellow and key components.

Max 

The max value of this enum.

Function Documentation

◆ DECLARE_ENUM_OPERATORS() [1/2]

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

Declaration of template arithmetic operators for values of ImageLockMode enum type.

◆ DECLARE_ENUM_OPERATORS() [2/2]

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

Declaration of template arithmetic operators for values of PixelFormat enum type.