You are here: Start » AVL.NET » AVL.LoadImage_FromDxf Method

AVL.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,
	string[] inLayersToDraw,
	out AvlNet.Point2D outOrigin,
	out AvlNet.Image outImage,
	out 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, or null.
inBackgroundColorAvlNet.Pixel
inLayersToDrawstringNames of layers to draw. Names of all layers are available at the 'diagFileLayersNames' output. Default value: atl::NIL, or null.
outOriginAvlNet.Point2DLocation of the origin from DXF on 'outImage'.
outImageAvlNet.ImageOutput image.
diagFileLayersNamesstringNames of all layers in DXF file.

See also