mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-04 09:06:04 +02:00
* Merge winforms framework content to working branch (#14) * Breadcrumb / TOC / Move net5 to net folder (#15) * change path from net5 to net * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Mess with bread/toc * Add .net 5 winforms placeholder article (#16) * added some metadata and adjusted net5 placeholder * corrections * corrections * corrections * Test1 * Swapping landing page vs concept * fix links * Fix links * Fix desc
1.2 KiB
1.2 KiB
title, ms.date, dev_langs, helpviewer_keywords, ms.assetid
| title | ms.date | dev_langs | helpviewer_keywords | ms.assetid | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| How to: Create a Pen | 03/30/2017 |
|
|
7fbea8b7-7ac1-4413-9c17-733a850381e3 |
How to: Create a Pen
This example creates a xref:System.Drawing.Pen object.
Example
[!code-cppSystem.Drawing.ConceptualHowTos#3] [!code-csharpSystem.Drawing.ConceptualHowTos#3] [!code-vbSystem.Drawing.ConceptualHowTos#3]
Robust Programming
After you have finished using objects that consume system resources, such as xref:System.Drawing.Pen objects, you should call xref:System.Drawing.Pen.Dispose%2A on them.