You are here: Start » FIL.NET » Function Reference » System » Interoperability » FIL.LoadImage_FromDxf
Loads data from a DXF file as an image.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void LoadImage_FromDxf ( string inDxfFile, float inScale, FilNet.Size? inSize, FilNet.Pixel inBackgroundColor, NullableRef<IList<string>> inLayersToDraw, out FilNet.Point2D outOrigin, FilNet.Image outImage, IList<string> diagFileLayersNames )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inDxfFile | string | |||
![]() | inScale | float | <0.0f, INF> | 10.0f | Scale (pixels per millimeter). Default value: 10.0f. |
![]() | inSize | FilNet.Size? | Size of the output image. Scaled entities from file will be centered on image. Default value: ftl::NIL. | ||
![]() | inBackgroundColor | FilNet.Pixel | |||
![]() | inLayersToDraw | FilNet.NullableRef<System.Collections.Generic.IList<string>> | Names of layers to draw. Names of all layers are available at the 'diagFileLayersNames' output. Default value: ftl::NIL. | ||
![]() | outOrigin | FilNet.Point2D | Location of the origin from DXF on 'outImage'. | ||
![]() | outImage | FilNet.Image | Output image. | ||
![]() | diagFileLayersNames | System.Collections.Generic.IList<string> | Names of all layers in DXF file. |
Remarks
Partial Support
This filter offers only a partial support of DXF files. Notably, Polyline and MText objects will have to be converted to 2D Polyline, Line or Text objects for them to be displayed. Also, SHX files are not supported.
Function Overrides
- LoadImage_FromDxf(String, Single, Pixel, Point2D, Image)
- LoadImage_FromDxf(String, Single, Nullable<Size>, Pixel, NullableRef<IList<String>>, Point2D, Image)