Skip to main content
1-Visitor
November 29, 2013
Solved

How to resize images with Styler?

  • November 29, 2013
  • 3 replies
  • 2889 views

Hello there,

I would like to know the way to resize images in XML document by using Arbortext Styler.

Although I know the way to adjust the size of images in Arbortext Editor with attributes (width, height etc...), I am not keen to use this way.

The images are too big in the document at the moment, so I would like to make them look small through a stylesheet.

Could you give me any tips please?

Thanks a lot.

Tomomi

Best answer by TimPhelps

Arbortext Styler does not size graphics.

It can create a pagesize to contain it or define an area into which it can be placed, using margins and indents. But without sizing the graphic or scaling it using the attributes mentioned, the graphic could overflow or under fill the designated area.

3 replies

TimPhelps12-AmethystAnswer
12-Amethyst
January 30, 2014

Arbortext Styler does not size graphics.

It can create a pagesize to contain it or define an area into which it can be placed, using margins and indents. But without sizing the graphic or scaling it using the attributes mentioned, the graphic could overflow or under fill the designated area.

1-Visitor
January 31, 2014

Dear Timothy,

Thank you very much for your answer.

I will try to resize it with the pagesize.

Regards,

Tomomi

1-Visitor
January 30, 2014

Hello Tomomi,

This article also discusses scaling/resizing images in Arbortext Editor:

https://www.ptc.com/appserver/cs/view/solution.jsp?n=CS138335

Regards,

Jerry Tippie

1-Visitor
January 31, 2014

Dear Jerry,

Thank you very much for your answer.

I didn't know about this discussion. It is helpful.

Regards,

Tomomi

1-Visitor
October 1, 2014

If you select your element context, then select the Category: Tags, you can change Outputs to edit: to HTML File (which would just affect the HTML output), and click on the Add button, add the html attribute "width" and set its value in the text field to "80%", this will scale the graphic to 80% of it's width in the HTML output.

You can also set the PDF tag attributes (APP only) apparently.