You are here: Start » FIL.NET » Invoke.LoadImage_FromDxf
Loads data from a DXF file as an image.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void LoadImage_FromDxf ( string inDxfFile, float inScale, Optional<Fil.Size> inSize, Fil.Pixel inBackgroundColor, Optional<List<string>> inLayersToDraw, out Fil.Point2D outOrigin, Fil.Image outImage, Diagnostic<List<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 | Ftl.Optional<Fil.Size> | Size of the output image. Scaled entities from file will be centered on image. Default value: ftl::NIL. | ||
![]() | inBackgroundColor | Fil.Pixel | |||
![]() | inLayersToDraw | Ftl.Optional<System.Collections.Generic.List<string>> | Names of layers to draw. Names of all layers are available at the 'diagFileLayersNames' output. Default value: ftl::NIL. | ||
![]() | outOrigin | Fil.Point2D | Location of the origin from DXF on 'outImage'. | ||
![]() | outImage | Fil.Image | Output image. | ||
![]() | diagFileLayersNames | Fil.Diagnostic<System.Collections.Generic.List<string>> | Names of all layers in DXF file. |