GH_DocDiagramPainterPaintDiagram Method (IEnumerableIGH_DocumentObject, Int32, Int32) |
Paint a diagram of a document.
Namespace:
Grasshopper.GUI.Canvas
Assembly:
Grasshopper (in Grasshopper.dll)
Syntax public bool PaintDiagram(
IEnumerable<IGH_DocumentObject> objs,
int approx_size,
int inflate
)
Public Function PaintDiagram (
objs As IEnumerable(Of IGH_DocumentObject),
approx_size As Integer,
inflate As Integer
) As Boolean
Parameters
- objs
- Type: System.Collections.GenericIEnumerableIGH_DocumentObject
Objects to paint. - approx_size
- Type: SystemInt32
Approximate size along each side. - inflate
- Type: SystemInt32
Padding around the objects.
Return Value
Type:
BooleanTrue on success, false on failure.
See Also