---
title: "ImageVObject..::.LoadImage Method (FileInfo, Boolean)"
canonical: https://www.graphicsmill.com/docs/gmwc/M_Aurigma_GraphicsMill_AjaxControls_VectorObjects_ImageVObject_LoadImage_2_0ff3b34d.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# ImageVObject.LoadImage Method (FileInfo, Boolean)

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Loads the bitmap from the external source.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```csharp
public void LoadImage(FileInfo imageFile,bool actualSize
)
```
 
### Parameters
 
 - imageFile
     - Type: [System.IO..FileInfo](http://msdn2.microsoft.com/en-us/library/akth6b1k)
 [FileInfo](http://msdn2.microsoft.com/en-us/library/akth6b1k) to load a bitmap.

 - actualSize
     - Type: [System..Boolean](http://msdn2.microsoft.com/en-us/library/a28wyd50)
Value specifying whether a size of the [ImageVObject](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_ImageVObject.htm.md) should be same as a size of loaded image.
   
## See Also

### Reference

- [ImageVObject Class](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_ImageVObject.htm.md)
- [LoadImage Overload](https://www.graphicsmill.com/docs/gmwc/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_ImageVObject_LoadImage.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects.htm.md)
