in cmd line is simple - page 842x595 (horizontal a4)
but how I can make constans page widht and height into c#
if I write
Code: Select all
ms.Geometry.Width = 842;
ms.Geometry.Height = 595;
Code: Select all
montageResult.Page.Width = 842;
montageResult.Page.Height = 595;
2]
this is near 1]
how to setup this to make tile 1x1,2x2,3x3, ect - I can setup variables but I cant insert into any other number into bracket {} than "0"- if I change zero to any greater number - I get error "Additional information: Index (zero based) must be greater than or equal to zero and less than the size of the argument list." - ms.TileGeometry = new MagickGeometry(string.Format("{3}x", 5)); for example
Code: Select all
ms.Geometry = new MagickGeometry(string.Format("{0}x{1}", tempWidth, tempHeight));
ms.TileGeometry = new MagickGeometry(string.Format("{0}x", 5));