Click or drag to resize

VectorGraphicImporterGetPreview Method

Returns a preview of the file to import.

Namespace: RAYLASE.Marker.VectorGraphicElement.Importer
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.19.0
Syntax
C#
public ImageSource GetPreview(
	string fileName,
	ivec2 size,
	double thickness
)

Parameters

fileName  String
The file path.
size  ivec2
Pixel size of the image. (Only for BitmapImage)
thickness  Double
Thickness of the vectors to render.

Return Value

ImageSource
Preview of the file to import as ImageSource
See Also