I have a few questions about Fonts and Alignment when using the Annotation "FreeText"
First, I assume this is the same as a "Text Box" when in the editor.
Here is a screenshot from the editor:
And here are the questions:
1) I cannot get Alignment to work properly using the ENUM PXC_TextJustification.
Only two values work: TJ_Left, and TJ_Center
All others produce this error: "Value does not fall within the expected range." yet they work in the editor.
Code: Select all
TextMUData.DefaultTextAlign = (int)PXC_TextJustification.TJ_Right; //ERROR
TextMUData.DefaultTextAlign = (int)PXC_TextJustification.TJ_Justify; //ERROR
Where are these being set when using the editor?
There is no comparable setting for the Annotation in CoreAPI.
I can only assume that you are wrapping the text in <body><p> tags and using CSS - is this true?
Thanks,
Wayne