Click or drag to resize

IJobManagerRenderAsBitmap(JobDefinition, String, Int32, Double, Color, NullableColor) 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#
void RenderAsBitmap(
	JobDefinition jobDefinition,
	string filePath,
	int imageSize,
	double strokeThickness,
	Color background,
	Color? foreground = null
)

Parameters

jobDefinition  JobDefinition
JobDefinition to render.
filePath  String
File name containing path.
imageSize  Int32
Size of the larger image edge in pixel.
strokeThickness  Double
Scale factor for stroke thickness. Default line thickens is 1 pixel times magnification.
background  Color
Background color for the bitmap.
foreground  NullableColor  (Optional)
Remarks
Use Workspace and WorkspaceOffset for defining the scope of the rendered job.
See Also