PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFLineAnnotation Class / setStartPoint Method / setStartPoint(PDFPoint) Method
A com.o2sol.pdf4java.graphics.PDFPoint object that specifies the start point of the line annotation in display coordinates.
Collapse All Expand All
In This Topic

setStartPoint(PDFPoint) Method
In This Topic
Sets the line's start point.
Because the start point uses page display coordinates, the annotation must be added to the page before setting the start point.
Syntax

    public void setStartPoint(
       PDFPoint point
    )

#### Parameters

point
  A com.o2sol.pdf4java.graphics.PDFPoint object that specifies the start point of the line annotation in display coordinates.

Exceptions

Exception | Description
--- | ---
java.lang.NullPointerException | When point parameter is null
java.lang.IllegalStateException | When the annotation does not belong to a page

See Also

#### Reference

PDFLineAnnotation Class
PDFLineAnnotation Members
Overload List

© 2025 O2 Solutions All Rights Reserved.

Send comments on this topic.