All I am trying to do is right-align text on a page. Can you tell me why the following code does not work? (The text remains left-aligned.)
CODE:
Dim segmentDateTime As Segment = CType(m_Section.GetObjectByID(“SegmentDateTime”), Segment)
segmentDateTime.Content = “#$NL” + "datetimefromcode"
XSL:
Thanks,
Edward
Dear Edward,
Thank you for considering Aspose.
I have tested your code and it works well. Would you please elaborate the error? Is the text in your pdf left-alignmented?