public class PDFRenderHints extends Object
Modifier and Type | Field and Description |
---|---|
static int |
CHINESE_SANSSERIF |
static int |
CHINESE_SERIF |
static int |
CHINESE_SIMPLIFIED |
static int |
JAPANESE_SANSSERIF |
static int |
JAPANESE_SERIF |
static int |
KOREAN_SANSSERIF |
static int |
KOREAN_SERIF |
Constructor and Description |
---|
PDFRenderHints() |
Modifier and Type | Method and Description |
---|---|
static int |
getImagePaintingMemoryMB()
Returns the amount of memory used when painting images, in megabytes
|
static Object |
getRenderingHint(RenderingHints.Key key)
Gets one rendering hint.
|
static RenderingHints |
getRenderingHints()
Gets a copy of the rendering hints.
|
static boolean |
isEnhanceThinLines()
Returns the value of the enhance thin lines flag.
|
static boolean |
isIgnoreLineWeights()
Returns the value of the ignore line weights flag.
|
static boolean |
isRenderComments()
Returns the value of the render comments flag.
|
static boolean |
renderSignatureTag()
This method returns the value of the flag that controls rendering of the
signature tag on empty fields.
|
static boolean |
renderSignatureVerify()
This method returns the value of the flag that controls whether signature
verification will be rendered.
|
static void |
setCMYKProfile(ICC_Profile cmykProfile)
Sets a custom CMYK profile to use when reading any CMYK color information.
|
static void |
setEnhanceThinLines(boolean b)
Sets the value of the enhance thin lines flag.
|
static void |
setIgnoreLineWeights(boolean b)
Sets the value of the ignore line weights flag.
|
static void |
setImagePaintingMemoryMB(int imagePaintingMemory)
Sets the amount of memory used when painting images, in megabytes, i.e.
|
static void |
setRenderComments(boolean renderComments)
Sets a flag to tell the library to render annotations.
|
static void |
setRenderingHint(RenderingHints.Key key,
Object value)
Sets one rendering hint.
|
static void |
setRenderingHints(RenderingHints hints)
Sets the rendering hints.
|
static void |
setRenderSignatureTag(boolean renderSignatureTag)
This method sets the value of the flag that controls whether the
signature tag ("Sign Here") is rendered for empty signature fields.
|
static void |
setRenderSignatureVerification(boolean renderSignatureVerify)
This method sets the value of the flag that controls whether signature
verification will be rendered.
|
public static final int JAPANESE_SERIF
public static final int JAPANESE_SANSSERIF
public static final int CHINESE_SERIF
public static final int CHINESE_SANSSERIF
public static final int CHINESE_SIMPLIFIED
public static final int KOREAN_SERIF
public static final int KOREAN_SANSSERIF
public static void setRenderingHints(RenderingHints hints)
hints
- The new rendering hints.public static RenderingHints getRenderingHints()
public static void setRenderingHint(RenderingHints.Key key, Object value)
key
- The rendering hint key.value
- The new value of the rendering hint.public static Object getRenderingHint(RenderingHints.Key key)
key
- The rendering hint key.public static void setCMYKProfile(ICC_Profile cmykProfile)
cmykProfile
- The new profile to use for CMYK color conversionpublic static boolean renderSignatureVerify()
public static void setRenderSignatureVerification(boolean renderSignatureVerify)
renderSignatureVerify
- The new value of the flagpublic static void setRenderSignatureTag(boolean renderSignatureTag)
renderSignatureTag
- The new value of the flag.public static boolean renderSignatureTag()
public static void setRenderComments(boolean renderComments)
renderComments
- New value of the flag.public static boolean isRenderComments()
public static void setImagePaintingMemoryMB(int imagePaintingMemory)
imagePaintingMemory
- The new amount of memory to use when painting images.public static int getImagePaintingMemoryMB()
public static void setEnhanceThinLines(boolean b)
b
- The value of the enhance thin lines flag.public static boolean isEnhanceThinLines()
public static void setIgnoreLineWeights(boolean b)
b
- The value of the enhance thin lines flag.public static boolean isIgnoreLineWeights()