Visual Basic

Visual Basic Code Screenshot Generator

Turn Visual Basic snippets into images worth sharing, without leaving your Mac.

VB.NET is verbose enough that a screenshot fills a frame quickly, so trimming matters more here than in most languages.

Codeshot detects Visual Basic from the code you paste, so there is no language picker to get wrong. Here is the same snippet in three of the 30 themes it ships with, rendered with the app's own stylesheets.

Public Class Snapshot
    Public Property Code As String
    Public Property Scale As Integer = 2

    Public Function ExportTo(path As String) As Boolean
        Dim image = Renderer.Render(Code)
        Return image.Save(path, Scale)
    End Function
End Class
Atom One · dark
Public Class Snapshot
    Public Property Code As String
    Public Property Scale As Integer = 2

    Public Function ExportTo(path As String) As Boolean
        Dim image = Renderer.Render(Code)
        Return image.Save(path, Scale)
    End Function
End Class
GitHub · dark
Public Class Snapshot
    Public Property Code As String
    Public Property Scale As Integer = 2

    Public Function ExportTo(path As String) As Boolean
        Dim image = Renderer.Render(Code)
        Return image.Save(path, Scale)
    End Function
End Class
Solarized · dark

Choosing a theme for Visual Basic

Its keywords are full words rather than symbols, so the snippet reads as prose. A high-contrast theme keeps the structure visible anyway.

Getting the size right

Let the image follow your content, or lock it to a ratio — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3, or 3:4 — then export at 1×, 2×, or 3× so it stays sharp on a retina display. Copy it straight to the clipboard with C, or save with S.

See all 30 themes side by side, or read the full workflow.

Built for Visual Basic, and 59 other languages

Everything runs on your Mac. Your code never leaves it.

Download for macOS