We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

Decimal Alignment

Thread ID:

Created:

Updated:

Platform:

Replies:

79559 Feb 14,2009 01:23 AM Feb 18,2009 06:36 AM Windows Forms 4
loading
Tags: PDF
Marty Graham
Asked On February 14, 2009 01:23 AM

VS Studio 2005
VB.Net
Essential PDF v.4.4

How does one align on decimal points?


Bhuvaneswari P [Syncfusion]
Replied On February 16, 2009 08:40 AM

Hi Martin,

Thank you for your interest in Syncfusion products.

I am not sure about requirement clearly. Could you please provide some more details whether you are using Flow model or Grid model? We have stopped support for Flow model and Grid model everything is points based.

Please provide more information and code snippet and what’s your expected output. This would be very helpful for us to understand and provide a solution.

Best Regards,
Bhuvana


Marty Graham
Replied On February 17, 2009 12:00 PM

Greeting,

Would you figure I'd use the none supported grid model. I need a method that in word processing would be called a decimal tabs.
Numeric values are aligned on the decimal point.

Example:
XXXXXX #.## ##.##%
XXXXXX ##.## #.##%
XXXXXX ###.## ##.##%
XXXXXX ####.## ##.##%
XXXXXX ###.## #.33%


>Hi Martin,

Thank you for your interest in Syncfusion products.

I am not sure about requirement clearly. Could you please provide some more details whether you are using Flow model or Grid model? We have stopped support for Flow model and Grid model everything is points based.

Please provide more information and code snippet and what’s your expected output. This would be very helpful for us to understand and provide a solution.

Best Regards,
Bhuvana




Marty Graham
Replied On February 18, 2009 02:07 AM

>Greeting,

Would you figure I'd use the none supported grid model. I need a method that in word processing would be called a decimal tabs.
Numeric values are aligned on the decimal point.

Example:
XXXXXX #.## ##.##%
XXXXXX ##.## #.##%
XXXXXX ###.## ##.##%
XXXXXX ####.## ##.##%
XXXXXX ###.## #.##%


>Hi Martin,

Thank you for your interest in Syncfusion products.

I am not sure about requirement clearly. Could you please provide some more details whether you are using Flow model or Grid model? We have stopped support for Flow model and Grid model everything is points based.

Please provide more information and code snippet and what’s your expected output. This would be very helpful for us to understand and provide a solution.

Best Regards,
Bhuvana







Currently the form is in flow model. I would like it but if nessary I can rewrite it in gride3e model. This must be very hard to do seeing the received message looks nothing like I sent. This really hot to hard ot imagin. In need the column of numbers aligned on the decimal point. I will try this again.

Center column of numbers aligned on the decimal.
This column sould be align on the decimal. It was prior to submiszsion.

11234.34
21.78
511.01
234.77
6.33

The line is formated correctly in the immediate window, just numbers and spaces, pdf seems to just put in radom number of spaces.

Best Regards




Bhuvaneswari P [Syncfusion]
Replied On February 18, 2009 06:36 AM

Hi Martin,

We don't have direct option to set the cell number format. However, it can be possible by using the .NET string format to set the format. Please refers to the below code for number format and for the cell alignment in Grid Model:

//Set the Right to left property for the cell
cell.Value = String.Format("{0:n2}",10.124322);
cell.Properties.Alignment = TextAlignment.Center;
//cell.Properties.VerticalAlignment = LineAlignment.Top;


Please refers to the below sample which illustrate above said feature:

http://www.syncfusion.com/uploads/redirect.aspx?file=Column_Alignment_cacc8dbd.zip&team=support


Table feature in Grid Model Preview table:

http://www.syncfusion.com/Support/user/uploads/TableFeatures_f466034a.zip


Please try this and let us know if this helps you.

Best Regards,
Bhuvana



CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;