I am having trouble printing a layoutcontrol containing a LabelControl, that has a long text.
I have included an example. If you run the example and press the SimpleButton1, you will see a print preview of the layoutcontrol, but the label text is only one line high, but displaying 2 half lines. This is my main issue. I have set the
C#labelControl1.AutoSizeInLayoutControl = true;
labelControl1.AutoSizeMode = LabelAutoSizeMode.Vertical;
I need to be able to see the entire text. It is related to the width of the form. Try resizing the form and click the SimpleButton1. Sometimes the word wrapping works.
Now, I have observed some other unfortunate behaviour, that you may want to look into. In the example , set the
C#enableDifferentStrings = false;
To true and click the SimpleButton1 (or SimpleButton2 or 3) a few times. Every other time, the preview is empty. This is not an issue for me in the final implementation, but you may want to look into it.
Finally, here on the support website, as I entered this ticket, I selected some text and marked it as code. Since it was the last in my edit field, I can not get out of Code input mode.
Thanks