# `GSLayer canImportOutlinesFromFile:`

*Type Method*

Whether a file name identifies a supported outline format.

## Declaration

```swift
class func canImportOutlines(fromFile fileName: String) -> Bool
```

```objc
+ (BOOL) canImportOutlinesFromFile:(NSString *) fileName;
```

```python
canImportOutlinesFromFile_(fileName: str) -> bool
```

## Discussion

SVG, EPS, and PDF files are supported.

## See Also

### Importing Outlines

- [`GSLayer canImportOutlinesFromURL:`](/Core/GlyphsCore/GSLayer/canImportOutlinesFromURL:) — Whether a file URL identifies a supported outline format.
- [`GSLayer importOutlinesFromURL:scale:error:`](/Core/GlyphsCore/GSLayer/importOutlinesFromURL:scale:error:) — Imports outlines and adds them to the layer.
- [`GSLayer scaleToFullHeight:bounds:`](/Core/GlyphsCore/GSLayer/scaleToFullHeight:bounds:) — Scales the layer contents to the vertical span of the glyph metrics.

