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
inDxfFilestring
inScalefloat<0.0f, INF>10.0fScale (pixels per millimeter). Default value: 10.0f.
inSizeAvlNet.Size?Size of the output image. Scaled entities from file will be centered on image. Default value: atl::NIL.
inBackgroundColorAvlNet.Pixel
inLayersToDrawAvlNet.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.
outOriginAvlNet.Point2DLocation of the origin from DXF on 'outImage'.
outImageAvlNet.ImageOutput image.
diagFileLayersNamesSystem.Collections.Generic.IList<string>Names of all layers in DXF file.

Function Overrides

See also