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.ExporterAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.58.0
Syntaxpublic 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
BooleanFalse to cancel the export. Nothing is written then.
See Also