public class InkOptions extends java.lang.Object implements 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.
|
public final 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(); }
getHideInk in interface IInkOptionspublic final 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(); }
setHideInk in interface IInkOptionspublic final boolean getInterpretMaskOpAsOpacity()
Uses ROP operation or Opacity for rendering brush.
Next example demonstrates how to set using ROP for expotring 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(); }
getInterpretMaskOpAsOpacity in interface IInkOptionspublic final void setInterpretMaskOpAsOpacity(boolean value)
Uses ROP operation or Opacity for rendering brush.
Next example demonstrates how to set using ROP for expotring 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(); }
setInterpretMaskOpAsOpacity in interface IInkOptionsCopyright © 2004-2025 Aspose Pty Ltd. All Rights Reserved.