Method AsImageWithBorder
AsImageWithBorder(SizeD, double, Color?)
Creates Image of the specified size
filled with this color.
public Image AsImageWithBorder(SizeD size, double scaleFactor, Color? borderColor = null)
Parameters
size
SizeDSize of the created image in dips.
scaleFactor
doubleScaling factor used to convert dips to/from pixels.
borderColor
ColorBorder color. Optional. If not specified, default border color is used.