With point styles if we select a font as the point style no matter how big the font is (point size) the DrawSample method always draws the font so small it is unitelligable.
Here is the code that we are using to set that up:
SusaPointStyle newPointStyle = new SusaPointStyle();
newPointStyle.PointType = PointType.Character;
newPointStyle.CharacterFont = new GeoFont(fontName.Text, (float)charSizeUpDown.Value); // font size is between 2 and 100
newPointStyle.CharacterIndex = getCharacter(); //returns a value between 32 and 112
newPointStyle.CharacterSolidBrush = charBrush;
stylePreview.Image = new Bitmap(stylePreview.Width, stylePreview.Height);
GeoCanvas gc = new GdiPlusGeoCanvas();
gc.BeginDrawing(stylePreview.Image, new RectangleShape(0, (double)stylePreview.Image.Height, (double)stylePreview.Image.Width, 0));
try {
newPointStyle.DrawSample(gc);
}
catch (Exception ex) {
//no error but the sample is drawn VERY tiny
}
As always your insight is greatly appreciated.
John