public class

RefreshOptions

extends OptionsBase
java.lang.Object
   ↳ com.pdftron.pdf.OptionsBase
     ↳ com.pdftron.pdf.RefreshOptions

Summary

Public Constructors
RefreshOptions()
Constructor.
RefreshOptions(String json_string)
Constructor.
Public Methods
boolean getDrawBackgroundOnly()
Gets the value DrawBackgroundOnly from the options object If true draw only the background and border, which can be useful when generating the rest of the annotation content elsewhere.
boolean getRefreshExisting()
Gets the value RefreshExisting from the options object Whether we should refresh annotations with existing appearances.
boolean getUseNonStandardRotation()
Gets the value UseNonStandardRotation from the options object Whether we should use rotation in the annotation even if it is not a multiple of 90.
boolean getUseRoundedCorners()
Gets the value UseRoundedCorners from the options object Whether we should use the corner radii specified in Annot.BorderStyle.
RefreshOptions setDrawBackgroundOnly(boolean value)
Sets the value for DrawBackgroundOnly in the options object If true draw only the background and border, which can be useful when generating the rest of the annotation content elsewhere.
RefreshOptions setRefreshExisting(boolean value)
Sets the value for RefreshExisting in the options object Whether we should refresh annotations with existing appearances.
RefreshOptions setUseNonStandardRotation(boolean value)
Sets the value for UseNonStandardRotation in the options object Whether we should use rotation in the annotation even if it is not a multiple of 90.
RefreshOptions setUseRoundedCorners(boolean value)
Sets the value for UseRoundedCorners in the options object Whether we should use the corner radii specified in Annot.BorderStyle.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public RefreshOptions ()

Constructor.

public RefreshOptions (String json_string)

Constructor.

Public Methods

public boolean getDrawBackgroundOnly ()

Gets the value DrawBackgroundOnly from the options object If true draw only the background and border, which can be useful when generating the rest of the annotation content elsewhere. Off by default.

Returns
  • the current value for DrawBackgroundOnly.

public boolean getRefreshExisting ()

Gets the value RefreshExisting from the options object Whether we should refresh annotations with existing appearances. Defaults to false when used in PDFDoc.RefreshAnnotAppearances and true when used in Annot.RefreshAppearance.

Returns
  • the current value for RefreshExisting.

public boolean getUseNonStandardRotation ()

Gets the value UseNonStandardRotation from the options object Whether we should use rotation in the annotation even if it is not a multiple of 90. Off by default.

Returns
  • the current value for UseNonStandardRotation.

public boolean getUseRoundedCorners ()

Gets the value UseRoundedCorners from the options object Whether we should use the corner radii specified in Annot.BorderStyle. Off by default.

Returns
  • the current value for UseRoundedCorners.

public RefreshOptions setDrawBackgroundOnly (boolean value)

Sets the value for DrawBackgroundOnly in the options object If true draw only the background and border, which can be useful when generating the rest of the annotation content elsewhere. Off by default.

Parameters
value the new value for DrawBackgroundOnly.
Returns
  • this object, for call chaining

public RefreshOptions setRefreshExisting (boolean value)

Sets the value for RefreshExisting in the options object Whether we should refresh annotations with existing appearances. Defaults to false when used in PDFDoc.RefreshAnnotAppearances and true when used in Annot.RefreshAppearance.

Parameters
value the new value for RefreshExisting.
Returns
  • this object, for call chaining

public RefreshOptions setUseNonStandardRotation (boolean value)

Sets the value for UseNonStandardRotation in the options object Whether we should use rotation in the annotation even if it is not a multiple of 90. Off by default.

Parameters
value the new value for UseNonStandardRotation.
Returns
  • this object, for call chaining

public RefreshOptions setUseRoundedCorners (boolean value)

Sets the value for UseRoundedCorners in the options object Whether we should use the corner radii specified in Annot.BorderStyle. Off by default.

Parameters
value the new value for UseRoundedCorners.
Returns
  • this object, for call chaining