static public byte[] GetWorkflowDefinitionGraphic(int workflowType) { using (BasicChannel channel = new BasicChannel()) { return(channel.GetWorkflowDefinitionGraphic(workflowType)); } }