Class SaveImageSettings
Represents a class for controlling the save to image operation when calling Save
Inheritance
Namespace: Telerik.Maui.Controls.SignaturePad
Assembly: Telerik.Maui.Controls.dll
Syntax
public class SaveImageSettings : Object
Constructors
SaveImageSettings()
Properties
BackgroundColor
Gets or sets the BackgroundColor for the encoded image.
If the value is null the Background
Declaration
public Color BackgroundColor { get; set; }
Property Value
Microsoft.
|
ImageFormat
Gets or sets the image format to encode the image to.
Declaration
public ImageFormat ImageFormat { get; set; }
Property Value
ImageQuality
Gets or sets the quality of the encoded image, when using a lossy compression format: the value of 1 specifies the maximum possible quality, resulting in minimum compression; the value of 0 specifies the minimum possible quality, resulting in maximum compression.
Declaration
public double ImageQuality { get; set; }
Property Value
System.
|
ScaleFactor
Gets or sets a scale factor, which can be used to reduce the size of the final image: values below 1 downscale the image before saving, thus reducing the final image size; values above 1 upscale the image before saving, thus increasing the final image size.
Declaration
public double ScaleFactor { get; set; }
Property Value
System.
|
StrokeColor
Gets or sets the stroke color for the signature in the encoded image.
If the value is null the Stroke
Declaration
public Color StrokeColor { get; set; }
Property Value
Microsoft.
|
StrokeThickness
Gets or sets the stroke thickness for the signature in the encoded image.
If the value is double.NaN, the Stroke
Declaration
public double StrokeThickness { get; set; }
Property Value
System.
|