GraphicsSurface 1.0.0

dotnet add package GraphicsSurface --version 1.0.0
                    
NuGet\Install-Package GraphicsSurface -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GraphicsSurface" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="GraphicsSurface" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="GraphicsSurface" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add GraphicsSurface --version 1.0.0
                    
#r "nuget: GraphicsSurface, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package GraphicsSurface@1.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=GraphicsSurface&version=1.0.0
                    
Install as a Cake Addin
#tool nuget:?package=GraphicsSurface&version=1.0.0
                    
Install as a Cake Tool

GraphicsSurface

Scroll-zoomable WinForms design surface control — printable page bounds, margin guides, dot grid, object selection, undo/redo, print/print-preview and a PropertyGrid pane. GraphicObjects.dll (the object model) is bundled inside this package — no separate install needed.

Part of DesignSurface (.NET Framework 4.8) and DesignSurface.NET (.NET 8+). Used by GraphicsWorkshop.

Supported frameworks

Target Assemblies
.NET Framework 4.8 lib/net48/GraphicsSurface.dll + GraphicObjects.dll
.NET 8+ (Windows, WinForms) lib/net8.0-windows7.0/GraphicsSurface.dll + GraphicObjects.dll

Install

dotnet add package GraphicsSurface

Usage

var surface = new DesignSurface.DesignSurface
{
    Dock = DockStyle.Fill,
    PageSize = DesignSurface.PageSizeKind.Letter,
    Orientation = DesignSurface.GridOrientation.Portrait,
};

surface.drawingObjects.Add(new GraphicObjects.TextGraphic(
    new Point(100, 100), "Hello", new Font("Arial", 24), Color.Black));

surface.SelectionChanged += (s, e) => { /* react to selection */ };
surface.PrintPreview();

License

MIT — derived from the Microsoft DesignSurface sample. See the repository for details.

Product Compatible and additional computed target framework versions.
.NET net8.0-windows7.0 is compatible.  net9.0-windows was computed.  net10.0-windows was computed. 
.NET Framework net48 is compatible.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.0 0 11/18/2026