Training
Module
Format alphanumeric data for presentation in C# - Training
Explore basic methods in C# to format alphanumeric data.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Use GDI+ Pen
objects to draw line segments, curves, and the outlines of shapes. In this section, line refers to any of these, unless specified to mean only a line segment. Set the properties of a pen to control the color, width, alignment, and style of lines drawn with that pen.
How to: Use a Pen to Draw Lines
Explains how to draw lines.
How to: Use a Pen to Draw Rectangles
Describes how to draw rectangles.
How to: Set Pen Width and Alignment
Explains how to change the width and alignment of a Pen
object.
How to: Draw a Line with Line Caps
Describes how to add end caps when drawing a line.
How to: Join Lines
Shows how to join two lines.
How to: Draw a Custom Dashed Line
Describes how to draw a dashed line.
How to: Draw a Line Filled with a Texture
Explains how to draw a texture-filled line.
Pen
Describes this class and has links to all its members.
.NET Desktop feedback feedback
.NET Desktop feedback is an open source project. Select a link to provide feedback:
Training
Module
Format alphanumeric data for presentation in C# - Training
Explore basic methods in C# to format alphanumeric data.