System::Drawing Namespace Reference

Namespaces

 Drawing2D
 
 Imaging
 
 Printing
 
 Text
 

Classes

class  Bitmap
 
class  Brush
 
class  Brushes
 
class  CharacterRange
 
class  Color
 
class  ColorTranslator
 
class  Font
 
class  FontConverter
 
class  FontFamily
 
class  Graphics
 
class  Icon
 
class  Image
 
class  ImageConverter
 
class  Pen
 
class  Pens
 
class  Point
 
class  PointF
 
class  Rectangle
 
class  RectangleF
 
class  Region
 
class  Size
 
class  SizeF
 
class  SolidBrush
 
class  StringFormat
 
class  SystemColors
 
class  SystemFonts
 
class  TextureBrush
 

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
}
 
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
}
 
enum  FontStyle {
  FontStyle::Regular = 0, FontStyle::Bold = 1, FontStyle::Italic = 2, FontStyle::Underline = 4,
  FontStyle::Strikeout = 8
}
 
enum  GraphicsUnit {
  GraphicsUnit::World = 0, GraphicsUnit::Display = 1, GraphicsUnit::Pixel = 2, GraphicsUnit::Point = 3,
  GraphicsUnit::Inch = 4, GraphicsUnit::Document = 5, GraphicsUnit::Millimeter = 6
}
 
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
}
 
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
}
 
enum  StringAlignment { StringAlignment::Near = 0, StringAlignment::Center = 1, StringAlignment::Far = 2 }
 
enum  StringDigitSubstitute { StringDigitSubstitute::User = 0, StringDigitSubstitute::None = 1, StringDigitSubstitute::National = 2, StringDigitSubstitute::Traditional = 3 }
 
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
}
 
enum  StringTrimming {
  StringTrimming::None = 0, StringTrimming::Character = 1, StringTrimming::Word = 2, StringTrimming::EllipsisCharacter = 3,
  StringTrimming::EllipsisWord = 4, StringTrimming::EllipsisPath = 5
}
 

Functions

 DECLARE_ENUM_OPERATORS (System::Drawing::FontStyle)
 

Enumeration Type Documentation

◆ ContentAlignment

Enumerator
TopLeft 

Content is vertically aligned at the top, and horizontally aligned on the left.

TopCenter 

Content is vertically aligned at the top, and horizontally aligned at the center.

TopRight 

Content is vertically aligned at the top, and horizontally aligned on the right.

MiddleLeft 

Content is vertically aligned in the middle, and horizontally aligned on the left.

MiddleCenter 

Content is vertically aligned in the middle, and horizontally aligned at the center.

MiddleRight 

Content is vertically aligned in the middle, and horizontally aligned on the right.

BottomLeft 

Content is vertically aligned at the bottom, and horizontally aligned on the left.

BottomCenter 

Content is vertically aligned at the bottom, and horizontally aligned at the center.

BottomRight 

Content is vertically aligned at the bottom, and horizontally aligned on the right.

◆ CopyPixelOperation

Enumerator
NoMirrorBitmap 
Blackness 
NotSourceErase 
NotSourceCopy 
SourceErase 
DestinationInvert 
PatInvert 
SourceInvert 
SourceAnd 
MergePaint 
MergeCopy 
SourceCopy 
SourcePaint 
PatCopy 
PatPaint 
Whiteness 
CaptureBlt 

◆ FontStyle

Enumerator
Regular 
Bold 
Italic 
Underline 
Strikeout 

◆ GraphicsUnit

Enumerator
World 
Display 
Pixel 
Point 
Inch 
Document 
Millimeter 

◆ KnownColor

Enumerator
ActiveBorder 
ActiveCaption 
ActiveCaptionText 
AppWorkspace 
Control 
ControlDark 
ControlDarkDark 
ControlLight 
ControlLightLight 
ControlText 
Desktop 
GrayText 
Highlight 
HighlightText 
HotTrack 
InactiveBorder 
InactiveCaption 
InactiveCaptionText 
Info 
InfoText 
Menu 
MenuText 
ScrollBar 
Window 
WindowFrame 
WindowText 
Transparent 
AliceBlue 
AntiqueWhite 
Aqua 
Aquamarine 
Azure 
Beige 
Bisque 
Black 
BlanchedAlmond 
Blue 
BlueViolet 
Brown 
BurlyWood 
CadetBlue 
Chartreuse 
Chocolate 
Coral 
CornflowerBlue 
Cornsilk 
Crimson 
Cyan 
DarkBlue 
DarkCyan 
DarkGoldenrod 
DarkGray 
DarkGreen 
DarkKhaki 
DarkMagenta 
DarkOliveGreen 
DarkOrange 
DarkOrchid 
DarkRed 
DarkSalmon 
DarkSeaGreen 
DarkSlateBlue 
DarkSlateGray 
DarkTurquoise 
DarkViolet 
DeepPink 
DeepSkyBlue 
DimGray 
DodgerBlue 
Firebrick 
FloralWhite 
ForestGreen 
Fuchsia 
Gainsboro 
GhostWhite 
Gold 
Goldenrod 
Gray 
Green 
GreenYellow 
Honeydew 
HotPink 
IndianRed 
Indigo 
Ivory 
Khaki 
Lavender 
LavenderBlush 
LawnGreen 
LemonChiffon 
LightBlue 
LightCoral 
LightCyan 
LightGoldenrodYellow 
LightGray 
LightGreen 
LightPink 
LightSalmon 
LightSeaGreen 
LightSkyBlue 
LightSlateGray 
LightSteelBlue 
LightYellow 
Lime 
LimeGreen 
Linen 
Magenta 
Maroon 
MediumAquamarine 
MediumBlue 
MediumOrchid 
MediumPurple 
MediumSeaGreen 
MediumSlateBlue 
MediumSpringGreen 
MediumTurquoise 
MediumVioletRed 
MidnightBlue 
MintCream 
MistyRose 
Moccasin 
NavajoWhite 
Navy 
OldLace 
Olive 
OliveDrab 
Orange 
OrangeRed 
Orchid 
PaleGoldenrod 
PaleGreen 
PaleTurquoise 
PaleVioletRed 
PapayaWhip 
PeachPuff 
Peru 
Pink 
Plum 
PowderBlue 
Purple 
Red 
RosyBrown 
RoyalBlue 
SaddleBrown 
Salmon 
SandyBrown 
SeaGreen 
SeaShell 
Sienna 
Silver 
SkyBlue 
SlateBlue 
SlateGray 
Snow 
SpringGreen 
SteelBlue 
Tan 
Teal 
Thistle 
Tomato 
Turquoise 
Violet 
Wheat 
White 
WhiteSmoke 
Yellow 
YellowGreen 
ButtonFace 
ButtonHighlight 
ButtonShadow 
GradientActiveCaption 
GradientInactiveCaption 
MenuBar 
MenuHighlight 

◆ RotateFlipType

Enumerator
RotateNoneFlipNone 
Rotate90FlipNone 
Rotate180FlipNone 
Rotate270FlipNone 
RotateNoneFlipX 
Rotate90FlipX 
Rotate180FlipX 
Rotate270FlipX 
RotateNoneFlipY 
Rotate90FlipY 
Rotate180FlipY 
Rotate270FlipY 
RotateNoneFlipXY 
Rotate90FlipXY 
Rotate180FlipXY 
Rotate270FlipXY 

◆ StringAlignment

Enumerator
Near 
Center 
Far 

◆ StringDigitSubstitute

Enumerator
User 
None 
National 
Traditional 

◆ StringFormatFlags

Enumerator
DirectionRightToLeft 
DirectionVertical 
FitBlackBox 
DisplayFormatControl 
NoFontFallback 
MeasureTrailingSpaces 
NoWrap 
LineLimit 
NoClip 

◆ StringTrimming

Enumerator
None 
Character 
Word 
EllipsisCharacter 
EllipsisWord 
EllipsisPath 

Function Documentation

◆ DECLARE_ENUM_OPERATORS()

System::Drawing::DECLARE_ENUM_OPERATORS ( System::Drawing::FontStyle  )