Free Support Forum - aspose.com

CodeText alignment CENTER

How do you align the text in the middle below the BarCode?
I set CodeTextAlignment = Center ...but it still on the Left.

<cc1:BarCodeWebControl ID="BarCode" runat="server" CodeTextSpace="10" SymbologyType="DataMatrix" AutoSize="False" Height="300px" Width="300px" />

Hi,

How do you set the CodeTextAlignment property? Have you tried to do it in the tag as below?

<cc1:BarCodeWebControl ID="BarCode" runat="server" CodeTextSpace="10" SymbologyType="DataMatrix" CodeTextAlignment="Center" AutoSize="False" Height="300px" Width="300px" />