Click or drag to resize

RasterExportSettings Class

The settings of an export to a raster format, e.g. PNG. Without settings, the defaults of this class are used and the export does not need any user interaction.
Inheritance Hierarchy
SystemObject
  RAYLASE.Marker.VectorGraphicElement.ExporterRasterExportSettings

Namespace: RAYLASE.Marker.VectorGraphicElement.Exporter
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.58.0
Syntax
C#
public class RasterExportSettings

The RasterExportSettings type exposes the following members.

Constructors
 NameDescription
Public methodRasterExportSettingsInitializes a new instance of the RasterExportSettings class
Top
Properties
 NameDescription
Public propertyCustomizer Optional callback to adjust the size and the pixel format right before the image is written, e.g. to let the user choose them. It is not called if it is null.
Public propertyPixelFormat The pixel format of the image. The default is 24 bit RGB.
Public propertyWidth The width of the image in pixels. The height is calculated from the aspect ratio of the exported area. The default is 1000.
Top
Methods
 NameDescription
Public methodStatic memberCreateInteractive Creates settings that let the user choose the size and the pixel format in a dialog before the image is written. Only use them in an application with a user interface. The export is cancelled if the user cancels the dialog.
Top
See Also