Dear all ,
I was trying to rotate the text inside html table using aspose.words dll (to get an output like image2.png)
but the text is not being rotated :S
this is the code used :
string dataDir = @"D:\Data\desktop";
Document doc = new Document();
DocumentBuilder builder = new DocumentBuilder(doc);
String test = "<table><tr><tc>10kg</tc></tr></table>";
builder.InsertHtml("" + test + "");
And this is the css for class rotate :
.rotate {
background-color:lightgrey;
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083); /* IE6,IE7 */*
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0.083)"; / IE8 */*
-moz-transform: rotate(-90.0deg); / FF3.5+ */*
-ms-transform: rotate(-90.0deg); / IE9+ */*
-o-transform: rotate(-90.0deg); / Opera 10.5 */*
-webkit-transform: rotate(-90.0deg); / Safari 3.1+, Chrome */*
transform: rotate(-90.0deg); / Standard */
}
Best ,