Inventor Engineer-to-Order

Inventor Engineer-to-Order

Reply
Contributor
santosh-kul
Posts: 18
Registered: ‎07-21-2011
Message 1 of 2 (125 Views)

Add page break and add format to the string using ETO

125 Views, 1 Replies
08-08-2012 06:08 AM

Hi,

 

How to add a page break in MS Word using ETO 2012? 

 

Also I want to add mixed formatting for the text in the single line (First two words should be BOLD and rest should be in normal case). Is it possible in ETO 2012.

 

Thanks,

Santosh

Employee
Chris.Palmatier
Posts: 177
Registered: ‎05-27-2010
Message 2 of 2 (120 Views)

Re: Add page break and add format to the string using ETO

08-08-2012 08:55 AM in reply to: santosh-kul

Check out the WordBreakWriter design for writing all kinds of breaks.

 

Bolding might be tougher. I don't know of a way to write a paragraph and apply formatting within the paragraph. You could try writing in two parts using WordTextWriter. Create a style in your template for the bold text, then another style for the normal text. Set the correct style parameter on each part, and use Placement :After parameter to make the strings follow in the right order.

 

Hope this helps. 



Chris Palmatier
Customer Success Engineer
Inventor Engineer-to-Order

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Manufacturing Community
The Manufacturing Community provides additional access to tips, tutorials, blogs and networking with peers.