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