---
title: "Canvas..::.GetScriptReferences Method "
canonical: https://www.graphicsmill.com/docs/gm5/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Canvas_GetScriptReferences.htm
archived: true
applies_to:
  - product: "Graphics Mill"
    versions: ["5.5", "3.x-5.x (may differ)"]
    entity_id: "https://www.graphicsmill.com/#software-application"
---

**You’re viewing outdated documentation.** [View the latest Graphics Mill documentation](https://www.graphicsmill.com/docs/gm/).

# Canvas.GetScriptReferences Method 

**Applies to:** Graphics Mill 5.5, 3.x-5.x (may differ) · **Archived documentation**
 
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)
