public class ITextUtil extends Object
iText
frameworkConstructor and Description |
---|
ITextUtil() |
Modifier and Type | Method and Description |
---|---|
static com.lowagie.text.Rectangle |
getDefaultPageSize()
Set the default page size for the document depending the user's country.
|
static String |
getPageSize(com.lowagie.text.Rectangle rect)
Return a page size as String.
|
static boolean |
isPageSizeSupported(String aPageSize)
Return
true if the page size is supported by PageSize class, false otherwise. |
public static com.lowagie.text.Rectangle getDefaultPageSize()
PageSize
public static String getPageSize(com.lowagie.text.Rectangle rect)
rect
- a Rectangle defined in PageSize
.PageSize
public static boolean isPageSizeSupported(String aPageSize)
true
if the page size is supported by PageSize
class, false
otherwise.aPageSize
- a page sizetrue
if the page size is supported, false
otherwisePageSize
Copyright © 2005–2014 The Apache Software Foundation. All rights reserved.