|
The following code.
var rc = new XRect();
rc.String = "20 20 220 120";
Response.Write($"Rect = {rc}");
Response.Write("<br>");
rc.Magnify(0.5, 0.5);
Response.Write($"Scale = {rc}");
Dim rc As New XRect()
rc.String = "20 20 220 120"
Response.Write($"Rect = {rc}")
Response.Write("<br>")
rc.Magnify(0.5, 0.5)
Response.Write($"Scale = {rc}")
Produces the following output.
Rect = 20 20 220 120
Scale = 20 20 120 70
Also see example code in: Doc AddImageDoc Function,
Doc Transform
Property, XImage Selection
Property, XRendering
AntiAliasText Property, XTextStyle HPos
Property, XTextStyle VPos
Property, PixMap
SetAlpha Function, PixMap
ToGrayscale Function.
|