Click or drag to resize

IJobManagerRenderAsImageDpi Method

Stores job workspace as bitmap.

Namespace: RAYLASE.Marker.Job
Assembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
Syntax
C#
Image RenderAsImageDpi(
	JobDefinition jobDefinition,
	double dpi,
	double strokeWidth,
	Color background,
	Color? foreground = null
)

Parameters

jobDefinition  JobDefinition
JobDefinition to render.
dpi  Double
Resolution of the bitmap.
strokeWidth  Double
With of the rendered contours [µm].
background  Color
Background color for the bitmap.
foreground  NullableColor  (Optional)

Return Value

Image

[Missing <returns> documentation for "M:RAYLASE.Marker.Job.IJobManager.RenderAsImageDpi(RAYLASE.Marker.Job.JobDefinition,System.Double,System.Double,System.Windows.Media.Color,System.Nullable{System.Windows.Media.Color})"]

Remarks
Use Workspace and WorkspaceOffset for defining the scope of the rendered job.
See Also