## File::OpenRead method


Abre el archivo especificado solo para lectura, en modo 'Open' con acceso compartido para lectura.

```cpp
static FileStreamPtr System::IO::File::OpenRead(const String &path)
```


| Parámetro | Tipo | Descripción |
| --- | --- | --- |
| ruta | const String\& | La ruta del archivo a abrir |

### ReturnValue

Un objeto [FileStream](../../filestream/) asociado con el archivo abierto

## Ver también

* Typedef [FileStreamPtr](../../../system/filestreamptr/)
* Class [String](../../../system/string/)
* Class [File](../)
* Namespace [System::IO](../../)
* Library [Aspose.PDF for C++](../../../)
