new PointShape(oldTransform.GetCenterPoint().X * widthRatio, oldTransform.GetCenterPoint().Y * heightRatio),
PrintingUnit.Point);
}
This works well, except it stretches shape file layers to an undesirable resolution. Is there a way to increase to the resolution of a shape file layer parented to a Map Printer Layer when it has been stretched?
I used your code and put it into the sample Large Scale Map Printing. I apply your function RefitLayer using 2 for width and height ratio parameters for page size A2. Compared to A4, I don't seem to see a problem with the resolution as you can see in the screenshots below. Can you give us some exact scenarios on how you see that undesirable resolution phenomenon affecting you? Thank you.
there is a raster layer parented to a map printer layer. When you zoom in and out, the resolution does not change. If you change the page size to something larger, say ANSI D or ANSI E, the layer will scale appropriately. Which looks fine in print preview, but when actually printing to a 34 x 44 sheet, the image looks pixelated. If you change to landscape or zoom-in- you can cover more area as well.
So, in a situation where the user has stretched out a raster layer across a large sheet of paper. I would like to adjust the layer to a higher resolution - like when a user would zoom-in using the first example.
Is this possible to implement this with the current ThinkGeo library? Could you point me in the right direction?
We could receive the first solution fine but the second one has an error when we try to unzip it. See the error message we receive below. Please, make sure you have it zipped correctly. We are looking forward into looking at your case and improve our printing system. Thank you.
Thank you for your sample. I think we have the issue clearly defined now. I have the Development team looking at this. I will let you know our findings.