Clipboard GetData


Node Information
Gets data from Clipboard the specified format.
General Information
• This node doesn't have other available options.
Visual
Visual

Ports
Text Type DataType Accepts IsList CustomAcception
Data OUT Object MULTIPLE FALSE FALSE
Format IN String ONE FALSE FALSE

Source
namespace Korduene.KGraph.Nodes.Win32.Clipboard
{
    [IsNode("GetData")]
    public class GetData : Node
    {
        Port run = new Port(PortType.OUT, typeof(object), AcceptsLinks.MULTIPLE, "Data");
        Port format = new Port(PortType.IN, typeof(string), AcceptsLinks.ONE, "Format");
        public GetData()
        {
            Name = "Clipboard GetData";
            AddPort(run);
            AddPort(format);
            Information = "Gets data from Clipboard the specified format.";
        }
        public override void UpdateResults()
        {
            run.Instructions = "Clipboard.GetData(" + GetValue(format) + ")";
        }
    }
}