System::Drawing Namespace Reference

Namespaces

 Drawing2D
 
 Imaging
 
 Printing
 
 Text
 

Classes

class  Bitmap
 Represents a GDI+ 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  Brush
 A base class for classes that represent fillers used to fill the interiors of graphical shapes. 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  Brushes
 Provides a set of precreated SolidBrush objects. This is a static type with no instance services. You should never create instances of it by any means. More...
 
class  CharacterRange
 Represents a range of character positions in a string. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type. More...
 
class  Color
 Represents a color. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type. More...
 
class  ColorTranslator
 Performs color translations. 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  Font
 Represents a particular format for text, including font face, size, and style. 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  FontConverter
 Converts Font objects from one data type to another. 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  FontFamily
 Represents a group of type faces that share a similar basic design. 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  Graphics
 Represents a drawing surface. 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  Icon
 Represents a Windows icon. 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  Image
 A base class for System::Drawing::Bitmap and System::Drawing::Metafile classes providing basic functionality. 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  ImageConverter
 Converts Image objects from one data type to another. 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  ImageFormatConverter
 Converts ImageFormat objects from one data type to another. 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  Pen
 Represents properties such as color, width etc. of the lines and curves being drawn. 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  Pens
 Provides a set of pre-created Pen objects. This is a static type with no instance services. You should never create instances of it by any means. More...
 
class  Point
 Represents a pair of integer X and Y coordinates of a point on a 2-dimensional plane. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type. More...
 
class  PointF
 Represents a pair of single-precision floating point X and Y coordinates of a point on a 2-dimensional plane. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type. More...
 
class  Rectangle
 Represents a rectangular area of an image defined as integer X and Y coordinates of its upper left corner and its width and height. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type. More...
 
class  RectangleF
 Represents a rectangular area of an image defined as single-precision floating point X and Y coordinates of its upper left corner and its width and height. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type. More...
 
class  Region
 Represents the interior of a graphic shape. 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  Size
 Represents a pair of integer values that represent width and height of an image. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type. More...
 
class  SizeF
 Represents a pair of single-precision floating point values that represent width and height of an image. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type. More...
 
class  SolidBrush
 Represents single-color brush. 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  StringFormat
 Encapsulates text layout information, display manipulations and OpenType features. 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  SystemColors
 Class that provide a set of precreated Color objects that represent colors of Windows display elements. This is a static type with no instance services. You should never create instances of it by any means. More...
 
class  SystemFonts
 Provides a set of pre-created Font objects that represent fonts used to display text in Windows display elements. This is a static type with no instance services. You should never create instances of it by any means. More...
 
class  TextureBrush
 Represents a brush that uses an image to fill the interior of a shape. 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...
 

Enumerations

enum  ContentAlignment {
  ContentAlignment::TopLeft = 0x001, ContentAlignment::TopCenter = 0x002, ContentAlignment::TopRight = 0x004, ContentAlignment::MiddleLeft = 0x010,
  ContentAlignment::MiddleCenter = 0x020, ContentAlignment::MiddleRight = 0x040, ContentAlignment::BottomLeft = 0x100, ContentAlignment::BottomCenter = 0x200,
  ContentAlignment::BottomRight = 0x400
}
 Specifies the content alignment. More...
 
enum  CopyPixelOperation {
  CopyPixelOperation::NoMirrorBitmap = (std::numeric_limits<int32_t>::min)(), CopyPixelOperation::Blackness = 66, CopyPixelOperation::NotSourceErase = 1114278, CopyPixelOperation::NotSourceCopy = 3342344,
  CopyPixelOperation::SourceErase = 4457256, CopyPixelOperation::DestinationInvert = 5570569, CopyPixelOperation::PatInvert = 5898313, CopyPixelOperation::SourceInvert = 6684742,
  CopyPixelOperation::SourceAnd = 8913094, CopyPixelOperation::MergePaint = 12255782, CopyPixelOperation::MergeCopy = 12583114, CopyPixelOperation::SourceCopy = 13369376,
  CopyPixelOperation::SourcePaint = 15597702, CopyPixelOperation::PatCopy = 15728673, CopyPixelOperation::PatPaint = 16452105, CopyPixelOperation::Whiteness = 16711778,
  CopyPixelOperation::CaptureBlt = 1073741824
}
 Specifies how the source color in a pixel copying operation is combined with the destination color to result in a final color. More...
 
enum  FontStyle {
  FontStyle::Regular = 0, FontStyle::Bold = 1, FontStyle::Italic = 2, FontStyle::Underline = 4,
  FontStyle::Strikeout = 8
}
 Represents a font style. More...
 
enum  GraphicsUnit {
  GraphicsUnit::World = 0, GraphicsUnit::Display = 1, GraphicsUnit::Pixel = 2, GraphicsUnit::Point = 3,
  GraphicsUnit::Inch = 4, GraphicsUnit::Document = 5, GraphicsUnit::Millimeter = 6
}
 Represents a unit of measure. More...
 
enum  KnownColor {
  KnownColor::ActiveBorder = 1, KnownColor::ActiveCaption = 2, KnownColor::ActiveCaptionText = 3, KnownColor::AppWorkspace = 4,
  KnownColor::Control = 5, KnownColor::ControlDark = 6, KnownColor::ControlDarkDark = 7, KnownColor::ControlLight = 8,
  KnownColor::ControlLightLight = 9, KnownColor::ControlText = 10, KnownColor::Desktop = 11, KnownColor::GrayText = 12,
  KnownColor::Highlight = 13, KnownColor::HighlightText = 14, KnownColor::HotTrack = 15, KnownColor::InactiveBorder = 16,
  KnownColor::InactiveCaption = 17, KnownColor::InactiveCaptionText = 18, KnownColor::Info = 19, KnownColor::InfoText = 20,
  KnownColor::Menu = 21, KnownColor::MenuText = 22, KnownColor::ScrollBar = 23, KnownColor::Window = 24,
  KnownColor::WindowFrame = 25, KnownColor::WindowText = 26, KnownColor::Transparent = 27, KnownColor::AliceBlue = 28,
  KnownColor::AntiqueWhite = 29, KnownColor::Aqua = 30, KnownColor::Aquamarine = 31, KnownColor::Azure = 32,
  KnownColor::Beige = 33, KnownColor::Bisque = 34, KnownColor::Black = 35, KnownColor::BlanchedAlmond = 36,
  KnownColor::Blue = 37, KnownColor::BlueViolet = 38, KnownColor::Brown = 39, KnownColor::BurlyWood = 40,
  KnownColor::CadetBlue = 41, KnownColor::Chartreuse = 42, KnownColor::Chocolate = 43, KnownColor::Coral = 44,
  KnownColor::CornflowerBlue = 45, KnownColor::Cornsilk = 46, KnownColor::Crimson = 47, KnownColor::Cyan = 48,
  KnownColor::DarkBlue = 49, KnownColor::DarkCyan = 50, KnownColor::DarkGoldenrod = 51, KnownColor::DarkGray = 52,
  KnownColor::DarkGreen = 53, KnownColor::DarkKhaki = 54, KnownColor::DarkMagenta = 55, KnownColor::DarkOliveGreen = 56,
  KnownColor::DarkOrange = 57, KnownColor::DarkOrchid = 58, KnownColor::DarkRed = 59, KnownColor::DarkSalmon = 60,
  KnownColor::DarkSeaGreen = 61, KnownColor::DarkSlateBlue = 62, KnownColor::DarkSlateGray = 63, KnownColor::DarkTurquoise = 64,
  KnownColor::DarkViolet = 65, KnownColor::DeepPink = 66, KnownColor::DeepSkyBlue = 67, KnownColor::DimGray = 68,
  KnownColor::DodgerBlue = 69, KnownColor::Firebrick = 70, KnownColor::FloralWhite = 71, KnownColor::ForestGreen = 72,
  KnownColor::Fuchsia = 73, KnownColor::Gainsboro = 74, KnownColor::GhostWhite = 75, KnownColor::Gold = 76,
  KnownColor::Goldenrod = 77, KnownColor::Gray = 78, KnownColor::Green = 79, KnownColor::GreenYellow = 80,
  KnownColor::Honeydew = 81, KnownColor::HotPink = 82, KnownColor::IndianRed = 83, KnownColor::Indigo = 84,
  KnownColor::Ivory = 85, KnownColor::Khaki = 86, KnownColor::Lavender = 87, KnownColor::LavenderBlush = 88,
  KnownColor::LawnGreen = 89, KnownColor::LemonChiffon = 90, KnownColor::LightBlue = 91, KnownColor::LightCoral = 92,
  KnownColor::LightCyan = 93, KnownColor::LightGoldenrodYellow = 94, KnownColor::LightGray = 95, KnownColor::LightGreen = 96,
  KnownColor::LightPink = 97, KnownColor::LightSalmon = 98, KnownColor::LightSeaGreen = 99, KnownColor::LightSkyBlue = 100,
  KnownColor::LightSlateGray = 101, KnownColor::LightSteelBlue = 102, KnownColor::LightYellow = 103, KnownColor::Lime = 104,
  KnownColor::LimeGreen = 105, KnownColor::Linen = 106, KnownColor::Magenta = 107, KnownColor::Maroon = 108,
  KnownColor::MediumAquamarine = 109, KnownColor::MediumBlue = 110, KnownColor::MediumOrchid = 111, KnownColor::MediumPurple = 112,
  KnownColor::MediumSeaGreen = 113, KnownColor::MediumSlateBlue = 114, KnownColor::MediumSpringGreen = 115, KnownColor::MediumTurquoise = 116,
  KnownColor::MediumVioletRed = 117, KnownColor::MidnightBlue = 118, KnownColor::MintCream = 119, KnownColor::MistyRose = 120,
  KnownColor::Moccasin = 121, KnownColor::NavajoWhite = 122, KnownColor::Navy = 123, KnownColor::OldLace = 124,
  KnownColor::Olive = 125, KnownColor::OliveDrab = 126, KnownColor::Orange = 127, KnownColor::OrangeRed = 128,
  KnownColor::Orchid = 129, KnownColor::PaleGoldenrod = 130, KnownColor::PaleGreen = 131, KnownColor::PaleTurquoise = 132,
  KnownColor::PaleVioletRed = 133, KnownColor::PapayaWhip = 134, KnownColor::PeachPuff = 135, KnownColor::Peru = 136,
  KnownColor::Pink = 137, KnownColor::Plum = 138, KnownColor::PowderBlue = 139, KnownColor::Purple = 140,
  KnownColor::Red = 141, KnownColor::RosyBrown = 142, KnownColor::RoyalBlue = 143, KnownColor::SaddleBrown = 144,
  KnownColor::Salmon = 145, KnownColor::SandyBrown = 146, KnownColor::SeaGreen = 147, KnownColor::SeaShell = 148,
  KnownColor::Sienna = 149, KnownColor::Silver = 150, KnownColor::SkyBlue = 151, KnownColor::SlateBlue = 152,
  KnownColor::SlateGray = 153, KnownColor::Snow = 154, KnownColor::SpringGreen = 155, KnownColor::SteelBlue = 156,
  KnownColor::Tan = 157, KnownColor::Teal = 158, KnownColor::Thistle = 159, KnownColor::Tomato = 160,
  KnownColor::Turquoise = 161, KnownColor::Violet = 162, KnownColor::Wheat = 163, KnownColor::White = 164,
  KnownColor::WhiteSmoke = 165, KnownColor::Yellow = 166, KnownColor::YellowGreen = 167, KnownColor::ButtonFace = 168,
  KnownColor::ButtonHighlight = 169, KnownColor::ButtonShadow = 170, KnownColor::GradientActiveCaption = 171, KnownColor::GradientInactiveCaption = 172,
  KnownColor::MenuBar = 173, KnownColor::MenuHighlight = 174
}
 Specifies the known system colors. More...
 
enum  RotateFlipType {
  RotateFlipType::RotateNoneFlipNone = 0, RotateFlipType::Rotate90FlipNone = 1, RotateFlipType::Rotate180FlipNone = 2, RotateFlipType::Rotate270FlipNone = 3,
  RotateFlipType::RotateNoneFlipX = 4, RotateFlipType::Rotate90FlipX = 5, RotateFlipType::Rotate180FlipX = 6, RotateFlipType::Rotate270FlipX = 7,
  RotateFlipType::RotateNoneFlipY = Rotate180FlipX, RotateFlipType::Rotate90FlipY = Rotate270FlipX, RotateFlipType::Rotate180FlipY = RotateNoneFlipX, RotateFlipType::Rotate270FlipY = Rotate90FlipX,
  RotateFlipType::RotateNoneFlipXY = Rotate180FlipNone, RotateFlipType::Rotate90FlipXY = Rotate270FlipNone, RotateFlipType::Rotate180FlipXY = RotateNoneFlipNone, RotateFlipType::Rotate270FlipXY = Rotate90FlipNone
}
 Specifies the type of rotation and/or flipping operation. More...
 
enum  StringAlignment { StringAlignment::Near = 0, StringAlignment::Center = 1, StringAlignment::Far = 2 }
 Specifies the string alignment relative to its layout rectangle. More...
 
enum  StringDigitSubstitute { StringDigitSubstitute::User = 0, StringDigitSubstitute::None = 1, StringDigitSubstitute::National = 2, StringDigitSubstitute::Traditional = 3 }
 Specifies how digits in a string are substituted according to the locale or language. More...
 
enum  StringFormatFlags {
  StringFormatFlags::DirectionRightToLeft = 0x00000001, StringFormatFlags::DirectionVertical = 0x00000002, StringFormatFlags::FitBlackBox = 0x00000004, StringFormatFlags::DisplayFormatControl = 0x00000020,
  StringFormatFlags::NoFontFallback = 0x00000400, StringFormatFlags::MeasureTrailingSpaces = 0x00000800, StringFormatFlags::NoWrap = 0x00001000, StringFormatFlags::LineLimit = 0x00002000,
  StringFormatFlags::NoClip = 0x00004000
}
 Specifies the display and layout information for the strings of text. More...
 
enum  StringTrimming {
  StringTrimming::None = 0, StringTrimming::Character = 1, StringTrimming::Word = 2, StringTrimming::EllipsisCharacter = 3,
  StringTrimming::EllipsisWord = 4, StringTrimming::EllipsisPath = 5
}
 Specifies how characters should be trimmed from a string that does not fit the layout shape. More...
 

Functions

std::ostream & operator<< (std::ostream &stream, Color color)
 Insert data into the stream using UTF-8 encoding. More...
 
std::wostream & operator<< (std::wostream &stream, Color color)
 Insert data into the stream. More...
 
std::ostream & operator<< (std::ostream &stream, const Point &point)
 Insert data into the stream using UTF-8 encoding. More...
 
std::wostream & operator<< (std::wostream &stream, const Point &point)
 Insert data into the stream. More...
 
std::ostream & operator<< (std::ostream &stream, const PointF &point)
 Insert data into the stream using UTF-8 encoding. More...
 
std::wostream & operator<< (std::wostream &stream, const PointF &point)
 Insert data into the stream. More...
 
std::ostream & operator<< (std::ostream &stream, const Rectangle &rectangle)
 Insert data into the stream using UTF-8 encoding. More...
 
std::wostream & operator<< (std::wostream &stream, const Rectangle &rectangle)
 Insert data into the stream. More...
 
std::ostream & operator<< (std::ostream &stream, const RectangleF &rectangle)
 Insert data into the stream using UTF-8 encoding. More...
 
std::wostream & operator<< (std::wostream &stream, const RectangleF &rectangle)
 Insert data into the stream. More...
 

Enumeration Type Documentation

◆ ContentAlignment

Specifies the content alignment.

Enumerator
TopLeft 

Aligned vertically at the top, and horizontally on the left.

TopCenter 

Aligned vertically at the top, and horizontally at the center.

TopRight 

Aligned vertically at the top, and horizontally on the right.

MiddleLeft 

Aligned vertically in the middle, and horizontally on the left.

MiddleCenter 

Aligned vertically in the middle, and horizontally at the center.

MiddleRight 

Aligned vertically in the middle, and horizontally on the right.

BottomLeft 

Aligned vertically at the bottom, and horizontally on the left.

BottomCenter 

Aligned vertically at the bottom, and horizontally at the center.

BottomRight 

Aligned vertically at the bottom, and horizontally on the right.

◆ CopyPixelOperation

Specifies how the source color in a pixel copying operation is combined with the destination color to result in a final color.

Enumerator
NoMirrorBitmap 

The bitmap is not mirrored.

Blackness 

The destination region is filled by using the color with index 0 in the physical palette.

NotSourceErase 

The source and destination colors are ORed and the color that results is then inverted.

NotSourceCopy 

The source region is inverted and then copied to the destination.

SourceErase 

The inverted colors of the destination region are ANDed with the colors of the source region.

DestinationInvert 

The destination region is inverted.

PatInvert 

The colors of the brush currently selected in the destination device context are XORed with the colors of the destination.

SourceInvert 

The colors of the source and destination regions are XORed.

SourceAnd 

The colors of the source and destination regions are ANDed.

MergePaint 

The colors of the inverted source region are ORed with the colors of the destination region.

MergeCopy 

The colors of the source region are ANDed with the colors of the selected brush of the destination device context.

SourceCopy 

The source region is copied directly to the destination region.

SourcePaint 

The colors of the source and destination regions are ORed.

PatCopy 

The brush currently selected in the destination device context is copied to the destination bitmap.

PatPaint 

The colors of the brush currently selected in the destination device context are ORed with the colors of the inverted source region. The result of this operation is ORed with the colors of the destination region.

Whiteness 

The destination region is filled by using the color with index 1 in the physical palette.

CaptureBlt 

Windows that are layered on top of application's window are included in the resulting image.

◆ FontStyle

Represents a font style.

Enumerator
Regular 

Normal.

Bold 

Bold.

Italic 

Italic.

Underline 

Underline.

Strikeout 

Strikeout.

◆ GraphicsUnit

Represents a unit of measure.

Enumerator
World 

World coordinate (non-physical unit).

Display 

The units of measure of the display device.

Pixel 

A device pixel.

Point 

A printer's point (1/72 of an inch).

Inch 

One inch.

Document 

1/300 of an inch.

Millimeter 

One millimeter.

◆ KnownColor

Specifies the known system colors.

Enumerator
ActiveBorder 

The color of the active window's border.

ActiveCaption 

The color of the background of the active window's title bar.

ActiveCaptionText 

The color of the text in the title bar of the active window.

AppWorkspace 

The color of the application workspace.

Control 

The color of the face of a 3-Dimensional element.

ControlDark 

The color of the shadow of a 3-Dimensional element.

ControlDarkDark 

The color of the dark shadow of a 3-Dimensional element.

ControlLight 

The color of the light of a 3-Dimensional element.

ControlLightLight 

The color of the highlight of a 3-Dimensional element.

ControlText 

The color of text in a 3-Dimensional element.

Desktop 

The color of the desktop.

GrayText 

The color of dimmed text.

Highlight 

The seleceted items' background color.

HighlightText 

The color of the text of selected items.

HotTrack 

The color of a hot-tracked item.

InactiveBorder 

The color of the border of an inactive window.

InactiveCaption 

The color of the background of an inactive window's title bar.

InactiveCaptionText 

The color of the text in an inactive window's title bar.

Info 

The color of the ToolTip's background.

InfoText 

The color of the text of a ToolTip.

Menu 

The color of the background of a menu.

MenuText 

The color of text in a menu.

ScrollBar 

The color of the background of a scroll bar.

Window 

The color of the background in the client area of a window.

WindowFrame 

The color of a window frame.

WindowText 

The color of the text in the client area of a window.

Transparent 

The system-defined color whose ARGB value in hexadecimal notation is #00FFFFFF.

AliceBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FFF0F8FF.

AntiqueWhite 

The system-defined color whose ARGB value in hexadecimal notation is #FFFAEBD7.

Aqua 

The system-defined color whose ARGB value in hexadecimal notation is #FF00FFFF.

Aquamarine 

The system-defined color whose ARGB value in hexadecimal notation is #FF7FFFD4.

Azure 

The system-defined color whose ARGB value in hexadecimal notation is #FFF0FFFF.

Beige 

The system-defined color whose ARGB value in hexadecimal notation is #FFF5F5DC.

Bisque 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFE4C4.

Black 

The system-defined color whose ARGB value in hexadecimal notation is #FF000000.

BlanchedAlmond 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFEBCD.

Blue 

The system-defined color whose ARGB value in hexadecimal notation is #FF0000FF.

BlueViolet 

The system-defined color whose ARGB value in hexadecimal notation is #FF8A2BE2.

Brown 

The system-defined color whose ARGB value in hexadecimal notation is #FFA52A2A.

BurlyWood 

The system-defined color whose ARGB value in hexadecimal notation is #FFDEB887.

CadetBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF5F9EA0.

Chartreuse 

The system-defined color whose ARGB value in hexadecimal notation is #FF7FFF00.

Chocolate 

The system-defined color whose ARGB value in hexadecimal notation is #FFD2691E.

Coral 

The system-defined color whose ARGB value in hexadecimal notation is #FFFF7F50.

CornflowerBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF6495ED.

Cornsilk 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFF8DC.

Crimson 

The system-defined color whose ARGB value in hexadecimal notation is #FFDC143C.

Cyan 

The system-defined color whose ARGB value in hexadecimal notation is #FF00FFFF.

DarkBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF00008B.

DarkCyan 

The system-defined color whose ARGB value in hexadecimal notation is #FF008B8B.

DarkGoldenrod 

The system-defined color whose ARGB value in hexadecimal notation is #FFB8860B.

DarkGray 

The system-defined color whose ARGB value in hexadecimal notation is #FFA9A9A9.

DarkGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF006400.

DarkKhaki 

The system-defined color whose ARGB value in hexadecimal notation is #FFBDB76B.

DarkMagenta 

The system-defined color whose ARGB value in hexadecimal notation is #FF8B008B.

DarkOliveGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF556B2F.

DarkOrange 

The system-defined color whose ARGB value in hexadecimal notation is #FFFF8C00.

DarkOrchid 

The system-defined color whose ARGB value in hexadecimal notation is #FF9932CC.

DarkRed 

The system-defined color whose ARGB value in hexadecimal notation is #FF8B0000.

DarkSalmon 

The system-defined color whose ARGB value in hexadecimal notation is #FFE9967A.

DarkSeaGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF8FBC8F.

DarkSlateBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF483D8B.

DarkSlateGray 

The system-defined color whose ARGB value in hexadecimal notation is #FF2F4F4F.

DarkTurquoise 

The system-defined color whose ARGB value in hexadecimal notation is #FF00CED1.

DarkViolet 

The system-defined color whose ARGB value in hexadecimal notation is #FF9400D3.

DeepPink 

The system-defined color whose ARGB value in hexadecimal notation is #FFFF1493.

DeepSkyBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF00BFFF.

DimGray 

The system-defined color whose ARGB value in hexadecimal notation is #FF696969.

DodgerBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF1E90FF.

Firebrick 

The system-defined color whose ARGB value in hexadecimal notation is #FFB22222.

FloralWhite 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFFAF0.

ForestGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF228B22.

Fuchsia 

The system-defined color whose ARGB value in hexadecimal notation is #FFFF00FF.

Gainsboro 

The system-defined color whose ARGB value in hexadecimal notation is #FFDCDCDC.

GhostWhite 

The system-defined color whose ARGB value in hexadecimal notation is #FFF8F8FF.

Gold 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFD700.

Goldenrod 

The system-defined color whose ARGB value in hexadecimal notation is #FFDAA520.

Gray 

The system-defined color whose ARGB value in hexadecimal notation is #FF808080.

Green 

The system-defined color whose ARGB value in hexadecimal notation is #FF008000.

GreenYellow 

The system-defined color whose ARGB value in hexadecimal notation is #FFADFF2F.

Honeydew 

The system-defined color whose ARGB value in hexadecimal notation is #FFF0FFF0.

HotPink 

The system-defined color whose ARGB value in hexadecimal notation is #FFFF69B4.

IndianRed 

The system-defined color whose ARGB value in hexadecimal notation is #FFCD5C5C.

Indigo 

The system-defined color whose ARGB value in hexadecimal notation is #FF4B0082.

Ivory 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFFFF0.

Khaki 

The system-defined color whose ARGB value in hexadecimal notation is #FFF0E68C.

Lavender 

The system-defined color whose ARGB value in hexadecimal notation is #FFE6E6FA.

LavenderBlush 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFF0F5.

LawnGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF7CFC00.

LemonChiffon 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFFACD.

LightBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FFADD8E6.

LightCoral 

The system-defined color whose ARGB value in hexadecimal notation is #FFF08080.

LightCyan 

The system-defined color whose ARGB value in hexadecimal notation is #FFE0FFFF.

LightGoldenrodYellow 

The system-defined color whose ARGB value in hexadecimal notation is #FFFAFAD2.

LightGray 

The system-defined color whose ARGB value in hexadecimal notation is #FFD3D3D3.

LightGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF90EE90.

LightPink 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFB6C1.

LightSalmon 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFA07A.

LightSeaGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF20B2AA.

LightSkyBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF87CEFA.

LightSlateGray 

The system-defined color whose ARGB value in hexadecimal notation is #FF778899.

LightSteelBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FFB0C4DE.

LightYellow 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFFFE0.

Lime 

The system-defined color whose ARGB value in hexadecimal notation is #FF00FF00.

LimeGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF32CD32.

Linen 

The system-defined color whose ARGB value in hexadecimal notation is #FFFAF0E6.

Magenta 

The system-defined color whose ARGB value in hexadecimal notation is #FFFF00FF.

Maroon 

The system-defined color whose ARGB value in hexadecimal notation is #FF800000.

MediumAquamarine 

The system-defined color whose ARGB value in hexadecimal notation is #FF66CDAA.

MediumBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF0000CD.

MediumOrchid 

The system-defined color whose ARGB value in hexadecimal notation is #FFBA55D3.

MediumPurple 

The system-defined color whose ARGB value in hexadecimal notation is #FF9370DB.

MediumSeaGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF3CB371.

MediumSlateBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF7B68EE.

MediumSpringGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF00FA9A.

MediumTurquoise 

The system-defined color whose ARGB value in hexadecimal notation is #FF48D1CC.

MediumVioletRed 

The system-defined color whose ARGB value in hexadecimal notation is #FFC71585.

MidnightBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF191970.

MintCream 

The system-defined color whose ARGB value in hexadecimal notation is #FFF5FFFA.

MistyRose 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFE4E1.

Moccasin 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFE4B5.

NavajoWhite 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFDEAD.

Navy 

The system-defined color whose ARGB value in hexadecimal notation is #FF000080.

OldLace 

The system-defined color whose ARGB value in hexadecimal notation is #FFFDF5E6.

Olive 

The system-defined color whose ARGB value in hexadecimal notation is #FF808000.

OliveDrab 

The system-defined color whose ARGB value in hexadecimal notation is #FF6B8E23.

Orange 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFA500.

OrangeRed 

The system-defined color whose ARGB value in hexadecimal notation is #FFFF4500.

Orchid 

The system-defined color whose ARGB value in hexadecimal notation is #FFDA70D6.

PaleGoldenrod 

The system-defined color whose ARGB value in hexadecimal notation is #FFEEE8AA.

PaleGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF98FB98.

PaleTurquoise 

The system-defined color whose ARGB value in hexadecimal notation is #FFAFEEEE.

PaleVioletRed 

The system-defined color whose ARGB value in hexadecimal notation is #FFDB7093.

PapayaWhip 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFEFD5.

PeachPuff 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFDAB9.

Peru 

The system-defined color whose ARGB value in hexadecimal notation is #FFCD853F.

Pink 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFC0CB.

Plum 

The system-defined color whose ARGB value in hexadecimal notation is #FFDDA0DD.

PowderBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FFB0E0E6.

Purple 

The system-defined color whose ARGB value in hexadecimal notation is #FF800080.

Red 

The system-defined color whose ARGB value in hexadecimal notation is #FFFF0000.

RosyBrown 

The system-defined color whose ARGB value in hexadecimal notation is #FFBC8F8F.

RoyalBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF4169E1.

SaddleBrown 

The system-defined color whose ARGB value in hexadecimal notation is #FF8B4513.

Salmon 

The system-defined color whose ARGB value in hexadecimal notation is #FFFA8072.

SandyBrown 

The system-defined color whose ARGB value in hexadecimal notation is #FFF4A460.

SeaGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF2E8B57.

SeaShell 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFF5EE.

Sienna 

The system-defined color whose ARGB value in hexadecimal notation is #FFA0522D.

Silver 

The system-defined color whose ARGB value in hexadecimal notation is #FFC0C0C0.

SkyBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF87CEEB.

SlateBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF6A5ACD.

SlateGray 

The system-defined color whose ARGB value in hexadecimal notation is #FF708090.

Snow 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFFAFA.

SpringGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF00FF7F.

SteelBlue 

The system-defined color whose ARGB value in hexadecimal notation is #FF4682B4.

Tan 

The system-defined color whose ARGB value in hexadecimal notation is #FFD2B48C.

Teal 

The system-defined color whose ARGB value in hexadecimal notation is #FF008080.

Thistle 

The system-defined color whose ARGB value in hexadecimal notation is #FFD8BFD8.

Tomato 

The system-defined color whose ARGB value in hexadecimal notation is #FFFF6347.

Turquoise 

The system-defined color whose ARGB value in hexadecimal notation is #FF40E0D0.

Violet 

The system-defined color whose ARGB value in hexadecimal notation is #FFEE82EE.

Wheat 

The system-defined color whose ARGB value in hexadecimal notation is #FFF5DEB3.

White 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFFFFF.

WhiteSmoke 

The system-defined color whose ARGB value in hexadecimal notation is #FFF5F5F5.

Yellow 

The system-defined color whose ARGB value in hexadecimal notation is #FFFFFF00.

YellowGreen 

The system-defined color whose ARGB value in hexadecimal notation is #FF9ACD32.

ButtonFace 

The face color of a 3-Dimensional element.

ButtonHighlight 

The highlight color of a 3-Dimensional element.

ButtonShadow 

The color of the shadow of a 3-Dimensional element.

GradientActiveCaption 

The lightest color in the color gradient of the title bar of an active window.

GradientInactiveCaption 

The lightest color in the color gradient of the title bar of an inactive window.

MenuBar 

The color of the menu bar's background.

MenuHighlight 

The color used to highlight menu items when the menu appears as a flat menu.

◆ RotateFlipType

Specifies the type of rotation and/or flipping operation.

Enumerator
RotateNoneFlipNone 

No rotation and no flipping.

Rotate90FlipNone 

Rotate by 90 degrees clockwise and no flipping.

Rotate180FlipNone 

Rotate by 180 degrees clockwise and no flipping.

Rotate270FlipNone 

Rotate by 270 degrees clockwise and no flipping.

RotateNoneFlipX 

Horizontal flipping and no rotation.

Rotate90FlipX 

Rotate by 90 degrees clockwise and flip horizontally.

Rotate180FlipX 

Rotate by 180 degrees clockwise and flip horizontally.

Rotate270FlipX 

Rotate by 270 degrees clockwise and flip horizontally.

RotateNoneFlipY 

Vertical flipping and no rotation.

Rotate90FlipY 

Rotate by 90 degrees clockwise and flip vertically.

Rotate180FlipY 

Rotate by 180 degrees clockwise and flip vertically.

Rotate270FlipY 

Rotate by 270 degrees clockwise and flip vertically.

RotateNoneFlipXY 

Horizontal and vertical flipping and no rotation.

Rotate90FlipXY 

Rotate by 90 degrees clockwise and flip horizontally and vertically.

Rotate180FlipXY 

Rotate by 180 degrees clockwise and flip horizontally and vertically.

Rotate270FlipXY 

Rotate by 270 degrees clockwise and flip horizontally and vertically.

◆ StringAlignment

Specifies the string alignment relative to its layout rectangle.

Enumerator
Near 

Near.

Center 

Center.

Far 

Far from the origin of the layout rectangle.

◆ StringDigitSubstitute

Specifies how digits in a string are substituted according to the locale or language.

Enumerator
User 

User-defined substitution.

None 

Subtitution is disabled.

National 

Substitute digits that correspond to the official national language of the user's locale.

Traditional 

Substitute digits that correspond to the user's native script or language, which may not be the same as the official national language of the user's locale.

◆ StringFormatFlags

Specifies the display and layout information for the strings of text.

Enumerator
DirectionRightToLeft 

Right-to-left text direction.

DirectionVertical 

Text is vertically alligned.

FitBlackBox 

Parts of characters can overhang the layout box.

DisplayFormatControl 

Control characters are displayed.

NoFontFallback 

Font fallback is disabled.

MeasureTrailingSpaces 

Inserts the trailing space at the end of each line.

NoWrap 

Text wrapping is disabled.

LineLimit 

Entire lines are laid out in the formatting rectangle.

NoClip 

Overhanging parts of glyphs are allowed to show.

◆ StringTrimming

Specifies how characters should be trimmed from a string that does not fit the layout shape.

Enumerator
None 

No trimming.

Character 

Trim to the nearest character.

Word 

Trim to the nearest word.

EllipsisCharacter 

Trim to the nearest character and insert ellipsis at the end of the string.

EllipsisWord 

Trim to the nearest word and insert ellipsis at the end of the string.

EllipsisPath 

The center is removed from trimmed lines and replaced by an ellipsis. Keep as much of the last slash-delimited segment of the line as possible.

Function Documentation

◆ operator<<() [1/10]

std::ostream& System::Drawing::operator<< ( std::ostream &  stream,
const PointF point 
)
inline

Insert data into the stream using UTF-8 encoding.

Parameters
streamOutput stream to insert data to.
pointData to insert.
Returns
stream.

◆ operator<<() [2/10]

std::wostream& System::Drawing::operator<< ( std::wostream &  stream,
const PointF point 
)
inline

Insert data into the stream.

Parameters
streamOutput stream to insert data to.
pointData to insert.
Returns
stream.

◆ operator<<() [3/10]

std::ostream& System::Drawing::operator<< ( std::ostream &  stream,
const Point point 
)
inline

Insert data into the stream using UTF-8 encoding.

Parameters
streamOutput stream to insert data to.
pointData to insert.
Returns
stream.

◆ operator<<() [4/10]

std::wostream& System::Drawing::operator<< ( std::wostream &  stream,
const Point point 
)
inline

Insert data into the stream.

Parameters
streamOutput stream to insert data to.
pointData to insert.
Returns
stream.

◆ operator<<() [5/10]

std::ostream& System::Drawing::operator<< ( std::ostream &  stream,
const RectangleF rectangle 
)
inline

Insert data into the stream using UTF-8 encoding.

Parameters
streamOutput stream to insert data to.
rectangleData to insert.
Returns
stream.

◆ operator<<() [6/10]

std::wostream& System::Drawing::operator<< ( std::wostream &  stream,
const RectangleF rectangle 
)
inline

Insert data into the stream.

Parameters
streamOutput stream to insert data to.
rectangleData to insert.
Returns
stream.

◆ operator<<() [7/10]

std::ostream& System::Drawing::operator<< ( std::ostream &  stream,
const Rectangle rectangle 
)
inline

Insert data into the stream using UTF-8 encoding.

Parameters
streamOutput stream to insert data to.
rectangleData to insert.
Returns
stream.

◆ operator<<() [8/10]

std::wostream& System::Drawing::operator<< ( std::wostream &  stream,
const Rectangle rectangle 
)
inline

Insert data into the stream.

Parameters
streamOutput stream to insert data to.
rectangleData to insert.
Returns
stream.

◆ operator<<() [9/10]

std::ostream& System::Drawing::operator<< ( std::ostream &  stream,
Color  color 
)
inline

Insert data into the stream using UTF-8 encoding.

Parameters
streamOutput stream to insert data to.
colorData to insert.
Returns
stream.

◆ operator<<() [10/10]

std::wostream& System::Drawing::operator<< ( std::wostream &  stream,
Color  color 
)
inline

Insert data into the stream.

Parameters
streamOutput stream to insert data to.
colorData to insert.
Returns
stream.