Draw Line Across the Page
Contents[ Hide ]
Aspose.PDF for Java supports the feature to add graph objects (for example graph, line, rectangle etc.) to PDF documents. We can also use line object to draw a cross starting from Left-Bottom to Right-Upper corner and Left-Top corner to Bottom-Right corner.
Please take a look over following code snippet to accomplish this requirement.