public interface IInkOptions
Provides options that control the look of Ink objects in exported document.
| Modifier and Type | Method and Description |
|---|---|
boolean |
getHideInk()
Shows or hides Ink elements in exported document.
|
boolean |
getInterpretMaskOpAsOpacity()
Uses ROP operation or Opacity for rendering brush.
|
void |
setHideInk(boolean value)
Shows or hides Ink elements in exported document.
|
void |
setInterpretMaskOpAsOpacity(boolean value)
Uses ROP operation or Opacity for rendering brush.
|
boolean getHideInk()
Shows or hides Ink elements in exported document.
Next example demonstrates how to hide Ink elements in exported PDF document:Presentation pres = new Presentation("pres.pptx"); try { PdfOptions pdfOptions = new PdfOptions(); pdfOptions.getInkOptions().setHideInk(true); pres.save("output.pptx", SaveFormat.Pdf, pdfOptions); } finally { if (pres != null) pres.dispose(); }
void setHideInk(boolean value)
Shows or hides Ink elements in exported document.
Next example demonstrates how to hide Ink elements in exported PDF document:Presentation pres = new Presentation("pres.pptx"); try { PdfOptions pdfOptions = new PdfOptions(); pdfOptions.getInkOptions().setHideInk(true); pres.save("output.pptx", SaveFormat.Pdf, pdfOptions); } finally { if (pres != null) pres.dispose(); }
boolean getInterpretMaskOpAsOpacity()
Uses ROP operation or Opacity for rendering brush.
Next example demonstrates how to set using ROP for exporting Ink elements:Presentation pres = new Presentation("pres.pptx"); try { PdfOptions pdfOptions = new PdfOptions(); pdfOptions.getInkOptions().setInterpretMaskOpAsOpacity(false); pres.save("output.pptx", SaveFormat.Pdf, pdfOptions); } finally { if (pres != null) pres.dispose(); }
void setInterpretMaskOpAsOpacity(boolean value)
Uses ROP operation or Opacity for rendering brush.
Next example demonstrates how to set using ROP for exporting Ink elements:Presentation pres = new Presentation("pres.pptx"); try { PdfOptions pdfOptions = new PdfOptions(); pdfOptions.getInkOptions().setInterpretMaskOpAsOpacity(false); pres.save("output.pptx", SaveFormat.Pdf, pdfOptions); } finally { if (pres != null) pres.dispose(); }
Copyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.