Click or drag to resize

IJobManagerRenderAsImage(JobDefinition, Int32, Double, Color, NullableColor) Method

Returns an image of the jobs workspace.

Namespace: RAYLASE.Marker.Job
Assembly: RAYLASE.Marker.Job (in RAYLASE.Marker.Job.dll) Version: 2.19.0
Syntax
C#
Image RenderAsImage(
	JobDefinition jobDefinition,
	int imageSize,
	double strokeThickness,
	Color background,
	Color? foreground = null
)

Parameters

jobDefinition  JobDefinition
JobDefinition to render.
imageSize  Int32
Size of the larger image edge in pixel.
strokeThickness  Double
Scale factor for stroke thickness.
background  Color
Background color for the bitmap.
foreground  NullableColor  (Optional)
foreground or object color for the bitmap. if the foreground color is null, than pen color is used

Return Value

Image

[Missing <returns> documentation for "M:RAYLASE.Marker.Job.IJobManager.RenderAsImage(RAYLASE.Marker.Job.JobDefinition,System.Int32,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