Sign UpSign Up   Sign InSign In Welcome Guest,
Live Chat Live Chat

Transparent table cells

Last post 02-09-2010, 2:38 PM by alexey.noskov. 4 replies.
Sort Posts: Previous Next
  •  02-09-2010, 4:46 AM 221407

    Transparent table cells Java

    Hello,

    Could you please suggest how to create transparent table cells/rows? I could not find the option in CellFormat or RowFormat classes.

    Best regards, Evgeniy

     
  •  02-09-2010, 5:57 AM 221415 in reply to 221407

    Re: Transparent table cells

    Hi

     

    Thanks for your request. Please try using the following code:

     

    builder.getCellFormat().getShading().setBackgroundPatternColor(new Color(0, 0, 0, 0));

     

    Hope this helps.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
  •  02-09-2010, 8:05 AM 221442 in reply to 221415

    Re: Transparent table cells

    Hi Alexey,

    Thanks, that helped!

     
  •  02-09-2010, 8:32 AM 221445 in reply to 221442

    Re: Transparent table cells

    Sorry, I have another question here.

    Which color should I set to receive some predefined texture as transparent layer?

    docBuilder.getCellFormat().getShading().setTexture(TextureIndex.TEXTURE_5_PERCENT);

    Best regards, Evgeniy

     
  •  02-09-2010, 2:38 PM 221509 in reply to 221445

    Re: Transparent table cells

    Hi Evgeniy,

     

    Thanks for your request. If I understand you correctly, you would like set “semitransparent” texture. I think this is impossible even in MS Word.

     

    Best regards.


    Alexey Noskov
    Developer/Technical Support
    Aspose Auckland Team
     
View as RSS news feed in XML