IconFitSettings Class

Apitron PDF Kit help
Apitron.PDF.Kit library for .NET
This class represents a icon fit settings.
Inheritance Hierarchy


Namespace:  Apitron.PDF.Kit.Interactive.Annotations
Assembly:  Apitron.PDF.Kit (in Apitron.PDF.Kit.dll) Version: (

public sealed class IconFitSettings : UndefinedResource

The IconFitSettings type exposes the following members.


Public methodIconFitSettings
Initializes a new instance of the Object class.

Public propertyCanBeExported
Gets a value indicating whether this instance can be exported.
(Inherited from Resource.)
Public propertyFitBounds
Gets or sets a value indicating whether to fit bounds. If true, indicates that the button appearance shall be scaled to fit fully within the bounds of the annotation without taking into consideration the line width of the border. Default value: false.
Public propertyLeftoverSpaceFraction
Gets or sets an array of two numbers that shall be between 0.0 and 1.0 indicating the fraction of leftover space to allocate at the left and bottom of the icon. A value of [0.0 0.0] shall position the icon at the bottom-left corner of the annotation rectangle. A value of [0.5 0.5] shall center it within the rectangle. This entry shall be used only if the icon is scaled proportionally. Default value: [0.5 0.5].
Public propertyResourceType
Gets the resource type.
(Inherited from Resource.)
Public propertyScaleMode
Gets or sets the circumstances under which the icon shall be scaled inside the annotation rectangle
Public propertyScaleType
Gets or sets the type of scaling that shall be used.
See Also