Constructor CanvasCreateParams
CanvasCreateParams()
Initializes a new instance of the Graphics.CanvasCreateParams class.
public CanvasCreateParams()
CanvasCreateParams(float?)
Initializes a new instance of the Graphics.CanvasCreateParams class with the specified scale factor.
public CanvasCreateParams(float? scaleFactor)
Parameters
scaleFactorfloat?The scale factor to be applied to the canvas measurements. If null, a default scale factor will be used.
CanvasCreateParams(float?, ControlRenderingFlags)
Initializes a new instance of the Graphics.CanvasCreateParams class with the specified scale factor and control rendering flags.
public CanvasCreateParams(float? scaleFactor, ControlRenderingFlags controlRenderingFlags)
Parameters
scaleFactorfloat?An optional scaling factor to be applied to the canvas. If null, no scaling is applied.
controlRenderingFlagsControlRenderingFlagsFlags that specify how controls should be rendered on the canvas.