VB.NET is verbose enough that a screenshot fills a frame quickly, so trimming matters more here than in most languages.
Codeshotは貼り付けたコードからVisual Basicを判別するので、言語の選び間違いは起きません。付属する30種類のうち3つのテーマで同じスニペットを、アプリ自身のスタイルシートで表示しています。
Visual Basic
Visual Basicのスニペットを、Macから離れることなく共有したくなる画像に。
VB.NET is verbose enough that a screenshot fills a frame quickly, so trimming matters more here than in most languages.
Codeshotは貼り付けたコードからVisual Basicを判別するので、言語の選び間違いは起きません。付属する30種類のうち3つのテーマで同じスニペットを、アプリ自身のスタイルシートで表示しています。
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
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
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
Its keywords are full words rather than symbols, so the snippet reads as prose. A high-contrast theme keeps the structure visible anyway.
画像サイズを内容に合わせるか、比率で固定します(1:1、4:3、3:2、16:9、9:16、2:3、3:4)。そのうえで1×・2×・3×から選んで書き出せば、Retinaディスプレイでも鮮明なままです。⌘⇧Cでクリップボードに直接コピー、または⌘Sで保存できます。
30種類のテーマを見比べるか、全体の流れをご覧ください。
すべてMac上で動作します。コードが外に出ることはありません。