PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFInkAnnotation Class / setInkWidth Method
The width of the lines drawn in the annotation.
Collapse All Expand All
In This Topic

setInkWidth Method
In This Topic
Sets the ink width.
Syntax

    public void setInkWidth(
       double inkWidth
    )

#### Parameters

inkWidth
  The width of the lines drawn in the annotation.

Exceptions

Exception | Description
--- | ---
java.lang.IllegalArgumentException | When inkWidth is set to a negative value.

See Also

#### Reference

PDFInkAnnotation Class
PDFInkAnnotation Members

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.