SVGPreserveAspectRatio Class
The SVGPreserveAspectRatio interface corresponds to the ‘preserveAspectRatio’ attribute, which is available for some of SVG's elements.
Inheritance Hierarchy
SystemObject
  Aspose.Html.DomDOMObject
    Aspose.Html.Dom.Svg.DataTypesSVGValueType
      Aspose.Html.Dom.Svg.DataTypesSVGPreserveAspectRatio

Namespace: Aspose.Html.Dom.Svg.DataTypes
Assembly: Aspose.HTML (in Aspose.HTML.dll) Version: 21.3
Syntax
public class SVGPreserveAspectRatio : SVGValueType

The SVGPreserveAspectRatio type exposes the following members.

Properties
  NameDescription
Public propertyAlign
The type of the alignment value as specified by one of the SVG_PRESERVEASPECTRATIO_* constants defined on this interface.
Public propertyMeetOrSlice
The type of the meet-or-slice value as specified by one of the SVG_MEETORSLICE_* constants defined on this interface.
Methods
  NameDescription
Public methodDispose
Releases unmanaged and - optionally - managed resources.
(Inherited from SVGValueType.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources.
(Inherited from SVGValueType.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a String that represents this instance.
(Overrides ObjectToString.)
Fields
  NameDescription
Public fieldStatic memberSVG_MEETORSLICE_MEET
Corresponds to value 'meet' for attribute ‘preserveAspectRatio’.
Public fieldStatic memberSVG_MEETORSLICE_SLICE
Corresponds to value 'slice' for attribute ‘preserveAspectRatio’.
Public fieldStatic memberSVG_MEETORSLICE_UNKNOWN
The enumeration was set to a value that is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
Public fieldStatic memberSVG_PRESERVEASPECTRATIO_NONE
Corresponds to value 'none' for attribute ‘preserveAspectRatio’.
Public fieldStatic memberSVG_PRESERVEASPECTRATIO_UNKNOWN
The enumeration was set to a value that is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
Public fieldStatic memberSVG_PRESERVEASPECTRATIO_XMAXYMAX
Corresponds to value 'xMaxYMax' for attribute ‘preserveAspectRatio’.
Public fieldStatic memberSVG_PRESERVEASPECTRATIO_XMAXYMID
Corresponds to value 'xMaxYMid' for attribute ‘preserveAspectRatio’.
Public fieldStatic memberSVG_PRESERVEASPECTRATIO_XMAXYMIN
Corresponds to value 'xMaxYMin' for attribute ‘preserveAspectRatio’.
Public fieldStatic memberSVG_PRESERVEASPECTRATIO_XMIDYMAX
Corresponds to value 'xMidYMax' for attribute ‘preserveAspectRatio’.
Public fieldStatic memberSVG_PRESERVEASPECTRATIO_XMIDYMID
Corresponds to value 'xMidYMid' for attribute ‘preserveAspectRatio’.
Public fieldStatic memberSVG_PRESERVEASPECTRATIO_XMIDYMIN
Corresponds to value 'xMidYMin' for attribute ‘preserveAspectRatio’.
Public fieldStatic memberSVG_PRESERVEASPECTRATIO_XMINYMAX
Corresponds to value 'xMinYMax' for attribute ‘preserveAspectRatio’.
Public fieldStatic memberSVG_PRESERVEASPECTRATIO_XMINYMID
Corresponds to value 'XMinYMid' for attribute ‘preserveAspectRatio’.
Public fieldStatic memberSVG_PRESERVEASPECTRATIO_XMINYMIN
Corresponds to value 'xMinYMin' for attribute ‘preserveAspectRatio’.
See Also