pdfbuttoniconlayout-ag凯发旗舰厅



com.spire.pdf.fields
class pdfbuttoniconlayout

java.lang.object
  extended by com.spire.pdf.fields.pdfbuttoniconlayout

public class pdfbuttoniconlayout
extends java.lang.object

represents the button icon layout options.


constructor summary
pdfbuttoniconlayout()
           
 
method summary
 pdfbuttoniconscalemode getscalemode()
          gets the type of scaling to use.
 pdfbuttoniconscalereason getscalereason()
          gets the circumstances under which the icon shall be scaled inside the annotation rectangle.
 float[] getspaces()
          gets an array of two numbers between 0.0 and 1.0 indicating the fraction of leftover space to allocate at the left and bottom of the icon.
 boolean isfitbounds()
          if true, indicates that the button appearance should be scaled to fit fully within the bounds of the annotation without taking into consideration the line width of the border.
 void isfitbounds(boolean value)
          if true, indicates that the button appearance should be scaled to fit fully within the bounds of the annotation without taking into consideration the line width of the border.
 void setscalemode(pdfbuttoniconscalemode value)
          sets the type of scaling to use.
 void setscalereason(pdfbuttoniconscalereason value)
          sets the circumstances under which the icon shall be scaled inside the annotation rectangle.
 void setspaces(float[] value)
          sets an array of two numbers between 0.0 and 1.0 indicating the fraction of leftover space to allocate at the left and bottom of the icon.
 
constructor detail

pdfbuttoniconlayout

public pdfbuttoniconlayout()
method detail

getscalereason

public pdfbuttoniconscalereason getscalereason()
gets the circumstances under which the icon shall be scaled inside the annotation rectangle.

setscalereason

public void setscalereason(pdfbuttoniconscalereason value)
sets the circumstances under which the icon shall be scaled inside the annotation rectangle.

getspaces

public float[] getspaces()
gets an array of two numbers between 0.0 and 1.0 indicating the fraction of leftover space to allocate at the left and bottom of the icon.

setspaces

public void setspaces(float[] value)
sets an array of two numbers between 0.0 and 1.0 indicating the fraction of leftover space to allocate at the left and bottom of the icon.

isfitbounds

public boolean isfitbounds()
if true, indicates that the button appearance should be scaled to fit fully within the bounds of the annotation without taking into consideration the line width of the border.

isfitbounds

public void isfitbounds(boolean value)
if true, indicates that the button appearance should be scaled to fit fully within the bounds of the annotation without taking into consideration the line width of the border.

getscalemode

public pdfbuttoniconscalemode getscalemode()
gets the type of scaling to use.

setscalemode

public void setscalemode(pdfbuttoniconscalemode value)
sets the type of scaling to use.


网站地图