---
title: "Canvas..::.GetScriptReferences Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_GetScriptReferences.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# Canvas.GetScriptReferences Method 
 
Returns script files for the [Canvas](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md).
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Protected Overridable Function GetScriptReferences As IEnumerable(Of ScriptReference)
```
 
```csharp
protected virtual IEnumerable<ScriptReference> GetScriptReferences()
```
 
### Return Value
An [IEnumerable&lt;T&gt;](http://msdn2.microsoft.com/en-us/9eekhta0) collection that contains JavaScript files that have been registered as embedded resources.
   
## See Also

### Reference

- [Canvas Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
