This commit is contained in:
parent
a0b15ce884
commit
538b139cb4
@ -219,7 +219,23 @@ namespace Volian.Print.Library
|
|||||||
chk.SetTextRise(-.25F * chk.Font.Size);
|
chk.SetTextRise(-.25F * chk.Font.Size);
|
||||||
else
|
else
|
||||||
chk.SetTextRise(0);
|
chk.SetTextRise(0);
|
||||||
|
switch (visualText.Format.Alignment)
|
||||||
|
{
|
||||||
|
case RtfTextAlignment.Center:
|
||||||
|
_MyParagraph.Alignment = Element.ALIGN_CENTER;
|
||||||
|
break;
|
||||||
|
case RtfTextAlignment.Justify:
|
||||||
|
_MyParagraph.Alignment = Element.ALIGN_JUSTIFIED;
|
||||||
|
break;
|
||||||
|
case RtfTextAlignment.Left:
|
||||||
|
_MyParagraph.Alignment = Element.ALIGN_LEFT;
|
||||||
|
break;
|
||||||
|
case RtfTextAlignment.Right:
|
||||||
|
_MyParagraph.Alignment = Element.ALIGN_RIGHT;
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
|
}
|
||||||
if (_MyFont == null)
|
if (_MyFont == null)
|
||||||
{
|
{
|
||||||
_MyFont = font;
|
_MyFont = font;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user