Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
1,1 км *Document.print *методи не доступні. 1,1 км Економія в TIFF і BMP формати не підтримуються, хоча SaveFormat.TIFF і SaveFormat.BMP доступні в публічному режимі Aspose.Words для Android Зареєструватися Java API, але UnsupportedOperationException кидається при використанні файлів збереження. 1,1 км Читання TIFF зображення не підтримується. 1,1 км Зареєструватися ODT Документи не підтримуються. 1,1 км Не підтримується штрих-коди. 1,1 км Градієнти по криві не підтримуються 1,1 км Друк не підтримується
Дивитися наступне публічне API методи:
1,1 км com.aspose.words.DocumentBuilder:
Для того, щоб використовувати додані ліцензії та документи для завантаження або зображення за допомогою протоколів http://ftp, необхідно додати наступний дозвіл на їх застосування <uses-permission для андроїд:name=“android.permission.INTERNET” />
public void testPublicAPI1() throws Exception
{
final String imagePath = "myImage.pmg";
Bitmap image = null;
try
{
image = BitmapFactory.decodeFile(imagePath);
DocumentBuilder builder = new DocumentBuilder();
builder.insertImage(image);
}
finally
{
if (image != null)
image.recycle();
}
}
public void testPublicAPI2() throws Exception
{
String gTestDocumentPath = "testDoc.docx";
String outFile = "out.png";
Document doc = new Document(gTestDocumentPath);
Bitmap image = null;
FileOutputStream fos = null;
try
{
image = Bitmap.createBitmap(1000, 1000, Bitmap.Config.ARGB_8888);
Canvas gr = new Canvas(image);
gr.rotate(45);
doc.renderToSize(0, gr, 0, 0, image.getWidth(), image.getHeight());
fos = new FileOutputStream(outFile);
image.compress(Bitmap.CompressFormat.PNG, 100, fos);
}
finally
{
if (fos != null)
fos.close();
if (image != null)
image.recycle();
}
}
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.