Click or drag to resize

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
)

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: Boolean
True on success, false on failure.
See Also