Quantcast
Viewing all articles
Browse latest Browse all 3693

New Post: TextInterlineSpacing

I wonder if someone might be able to help me. I am struggling with trying to get TextInterlineSpacing to function. So far when I run the code, everything (font size, color, etc) is created correctly but TextInterlineSpacing is being ignored. I tried different values and it always comes up looking the same.

I have not found any other discussions with examples on this so I am not even sure if I am implementing it correctly.

Here is the code that we use to define the Text settings. I set the TextInterlineSpacing to half the point size as a test and it shows up the same way if it is set at the full point size.
Caption.Settings.Density = new PointD(72, 72);//
                        Caption.Settings.TextInterlineSpacing = 6;
                        Caption.Settings.FontPointsize = 12;
                        Caption.Settings.FontFamily = "Arial";
                        Caption.Settings.FillColor = new MagickColor(Color.Red);
                        Caption.Read("caption:" + content);

Viewing all articles
Browse latest Browse all 3693

Trending Articles