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. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Setup tab stops in a document

Thread ID:

Created:

Updated:

Platform:

Replies:

58301 Mar 21,2007 08:06 PM UTC Mar 23,2007 11:32 AM UTC ASP.NET Web Forms (Classic) 1
loading
Tags: DocIO
Jay Slusher
Asked On March 21, 2007 08:06 PM UTC

Below is a copy of the Word call which sets up a tab stop at 1 inch with left alignment.

gappME is the Word object
gdocME is the document object.

gdocME.Paragraphs.TabStops.Add(gappME.InchesToPoints(1), gappME.WdTabAlignment.wdAlignTabLeft, gappME.WdTabLeader.wdTabLeaderSpaces);

How do I do this using DocIo?

Administrator [Syncfusion]
Replied On March 23, 2007 11:32 AM UTC

Hi Jay,

Sets up a Setup tab stops in a document can be done by using the code snippet below

//Tab setting
paragraph.ParagraphFormat.Tabs.AddTab(100.0f,Syncfusion.DLS.TabJustification.Left,Syncfusion.DLS.TabLeader.NoLeader);

The measurement scale for the documents is defined in terms of points.

Herewith I have attached a sample for your reference
http://websamples.syncfusion.com//samples/DocIO.Windows/F58301//main.htm

Please let me know if you have any other queries.

Thanks for your interest in Syncfusion products.

Best Regards,
Bhuvaneswari

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.

Warning Icon 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.Close Icon

;