Click or drag to resize

PdfIconFit Class

Represents an icon fit dictionary specifying how to display the button’s icon within the annotation rectangle of its widget annotation.
Inheritance Hierarchy

Namespace:  Patagames.Pdf.Net.Wrappers
Assemblies:   Patagames.Pdf.Xamarin.iOS (in Patagames.Pdf.Xamarin.iOS.dll) Version: 4.55.2704
  Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.55.2704
Syntax
public class PdfIconFit : PdfWrapper

The PdfIconFit type exposes the following members.

Constructors
  NameDescription
Public methodPdfIconFit
Creates new instance of PdfIconFit class.
Public methodPdfIconFit(PdfTypeBase)
Creates a new instance of PdfIconFit and initialize it with specified dictionary
Top
Properties
  NameDescription
Public propertyFitToBounds
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.
Public propertyHorizontalOffset
Gets or sets the number between 0.0 and 1.0 indicating the fraction of leftover space to allocate at the left of the icon. A value of 0.0 positions the icon at the left corner of the annotation rectangle. A value of 0.5 centers it within the horizontal direction of rectangle. This Property is used only if the ScaleType is Proportional.
Public propertyScaleMode
Gets or sets the circumstances under which the icon should be scaled inside the annotation rectangle.
Public propertyScaleType
Gets or sets the type of scaling to use.
Public propertyVerticalOffset
Gets or sets the number between 0.0 and 1.0 indicating the fraction of leftover space to allocate at the bottom of the icon. A value of 0.0 positions the icon at the bottom corner of the annotation rectangle. A value of 0.5 centers it within the vertical direction of rectangle. This Property is used only if the ScaleType is Proportional.
Top
See Also