Welcome Guest Search | Active Topics | Sign In | Register

Alignment issue with the ACMTEXT() method Options
Mathivanan
Posted: Thursday, March 24, 2016 2:03:11 AM
Rank: Newbie
Groups: Member

Joined: 2/21/2016
Posts: 8
Hi Team,

I am using acmtext to fill the description let say description is around 1000 characters where as the width of ACMTEXT is set to 3f. So it fits with in the width but the first line of the description starts with a empty space and padding bottom with next line. Apart from the first line of description rest has consistent layout. My objective is to keep that first line also in the same alignment of the other line.

Eg.

A crocodile is any species belonging to the family of Crocodylidae (sometimes classified instead as the

subfamily Crocodylinae). The term can also be used more loosely to include all members of the order
Crocodilia: i.e. the true crocodiles, the alligators and caimans (family Alligatoridae) and the gharials
(family Gavialidae), or even the Crocodylomorpha which includes prehistoric crocodile relatives and
ancestors.
Created

In above sample first line starts with some empty space before and padding bottom as well. Please give me some idea to overcome to keep consistent alignment.

Thanks
eo_support
Posted: Thursday, March 24, 2016 8:15:59 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Can you provide some sample code to demonstrate what you described so that we can understand the problem better?

Thanks!
Mathivanan
Posted: Monday, March 28, 2016 11:15:41 AM
Rank: Newbie
Groups: Member

Joined: 2/21/2016
Posts: 8

AcmText skuText = new AcmText();
skuText.AutoTrim = false;
skuText.Text = HttpUtility.HtmlDecode("A crocodile is any species belonging to the family of Crocodylidae (sometimes classified instead as the subfamily Crocodylinae). The term can also be used more loosely to include all members of the order
Crocodilia: i.e. the true crocodiles, the alligators and caimans (family Alligatoridae) and the gharials
(family Gavialidae), or even the Crocodylomorpha which includes prehistoric crocodile relatives and
ancestors.
Created");

CellObj.Children.Add(skuText);
eo_support
Posted: Monday, March 28, 2016 11:23:47 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Please provide a full working sample code that we can run and reproduce the problem.

Thanks!


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.