Click or drag to resize

RasterExportCustomizer Delegate

Lets the caller adjust the size and the pixel format of a raster export, e.g. with a dialog.

Namespace: RAYLASE.Marker.VectorGraphicElement.Exporter
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.58.0
Syntax
C#
public delegate bool RasterExportCustomizer(
	CADImage image,
	string fileName,
	ref DRect size,
	ref PixelFormat pixelFormat
)

Parameters

image  CADImage
The image to be exported.
fileName  String
The name of the file to be written.
size  DRect
The proposed size in pixels. The callback can change it.
pixelFormat  PixelFormat
The proposed pixel format. The callback can change it.

Return Value

Boolean
False to cancel the export. Nothing is written then.
See Also