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.

Problem with DocIO and Bullets

Thread ID:

Created:

Updated:

Platform:

Replies:

54990 Jan 22,2007 08:45 AM Jan 26,2007 08:47 AM ASP.NET Web Forms (Classic) 3
loading
Tags: DocIO
A. Sannes
Asked On January 22, 2007 08:45 AM

I run the example for Bullets and Numbering.
First of all it fails to complile in the following statement:
section1.Columns.Add(new Column());
I have changed that to:
section1.Columns.Add(new Column(document));
Now it compiles and runs.
However on te following statement the example craches with an "Object reference not set..." exception:
paragraph.ListFormat.ListType = LT;
- version: 4.2.0.60
- OS is Windows 2000
- Visual Studio 2005
- winforms and aspx.

Dhivya K [Syncfusion]
Replied On January 23, 2007 08:04 AM

Hi Sannes,

Thank you for your information regarding this issue. I tried testing this issue. I am afraid. I am unable to reproduce the issue in Vs2005.

Here is a sample for your reference:
sample.zip

Please take a look into it and let me know if I am missing something in my sample.

Regards,
Dhivya.

A. Sannes
Replied On January 24, 2007 03:19 AM

Yout example produces the same error.
Are you also using version 4.2.0.60?

In the mean time I tested something and found out that if I replace LT in the statement
paragraph.ListFormat.ListType = LT;
by (ListType)3 then it will work, while the enum only containt 0,1 and 2!

I think something is wrong in my version.
Now it works using my work around I have an other question:
How can you change the size of the identation?


>Hi Sannes,

Thank you for your information regarding this issue. I tried testing this issue. I am afraid. I am unable to reproduce the issue in Vs2005.

Here is a sample for your reference:
sample.zip

Please take a look into it and let me know if I am missing something in my sample.

Regards,
Dhivya.

Dhivya K [Syncfusion]
Replied On January 26, 2007 08:47 AM

Hi Bert,

Thank you for the update. Glad to know that your resolved the issue with bullets. Could you please consider upgrading to 4.4 version as it includes some fixes and features?

Regarding indentation, you can change the indent using ParagraphFormat as follows

paragraph.ParagraphFormat.LeftIndent=54f;

Please let me know if you have any other queries.

Regards,
Dhivya.

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.

;