You are here: Start » AVL.NET » AVS.LoadImage_FromDxf Method
AVS.LoadImage_FromDxf Method
Loads data from a DXF file as an image.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void LoadImage_FromDxf ( string inDxfFile, float inScale, AvlNet.Size? inSize, AvlNet.Pixel inBackgroundColor, NullableRef<IList<string>> inLayersToDraw, out AvlNet.Point2D outOrigin, AvlNet.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 | AvlNet.Size? | Size of the output image. Scaled entities from file will be centered on image. Default value: atl::NIL. | |||
inBackgroundColor | AvlNet.Pixel | ||||
inLayersToDraw | AvlNet.NullableRef<System.Collections.Generic.IList<string>> | Names of layers to draw. Names of all layers are available at the 'diagFileLayersNames' output. Default value: atl::NIL. | |||
outOrigin | AvlNet.Point2D | Location of the origin from DXF on 'outImage'. | |||
outImage | AvlNet.Image | Output image. | |||
diagFileLayersNames | System.Collections.Generic.IList<string> | Names of all layers in DXF file. |
Function Overrides
- LoadImage_FromDxf(String, Single, Pixel, Point2D, Image)
- LoadImage_FromDxf(String, Single, Nullable<Size>, Pixel, NullableRef<IList<String>>, Point2D, Image)