Class SVGPreserveAspectRatio
Nom dels espais: Aspose.Html.Dom.Svg.DataTypes Assemblea: Aspose.HTML.dll (25.4.0)
L’interfície SVGPreserveAspectRatio correspon a l’atribute ‘reservAespect Ratio’, que està disponible per a alguns dels elements de SVG.
[ComVisible(true)]
[DOMObject]
[DOMName("SVGPreserveAspectRatio")]
public class SVGPreserveAspectRatio : SVGValueType, INotifyPropertyChanged, IDisposable
Inheritance
object ← DOMObject ← SVGValueType ← SVGPreserveAspectRatio
Implements
INotifyPropertyChanged , IDisposable
Membres heretats
SVGValueType.Dispose() , SVGValueType.Dispose(bool) , DOMObject.GetPlatformType() , object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Fields
SVG_MEETORSLICE_MEET
Correspon a el valor de ‘meet’ per a l’atribució ‘reserveAspectRatio’.
[DOMName("SVG_MEETORSLICE_MEET")]
public const ushort SVG_MEETORSLICE_MEET = 1
Valor de camp
SVG_MEETORSLICE_SLICE
Correspon al valor de ‘slice’ per a l’atribució ‘reserveAspectRatio’.
[DOMName("SVG_MEETORSLICE_SLICE")]
public const ushort SVG_MEETORSLICE_SLICE = 2
Valor de camp
SVG_MEETORSLICE_UNKNOWN
L’enumeració s’ha fixat a un valor que no és un dels tipus predefinits. És inútil intentar definir un nou valor d’aquest tipus o intentar canviar el valor existent a aquest tipus.
[DOMName("SVG_MEETORSLICE_UNKNOWN")]
public const ushort SVG_MEETORSLICE_UNKNOWN = 0
Valor de camp
SVG_PRESERVEASPECTRATIO_NONE
Correspon a valor ’no’ per a l’atribució ‘reserveAspectRatio’.
[DOMName("SVG_PRESERVEASPECTRATIO_NONE")]
public const ushort SVG_PRESERVEASPECTRATIO_NONE = 1
Valor de camp
SVG_PRESERVEASPECTRATIO_UNKNOWN
L’enumeració s’ha fixat a un valor que no és un dels tipus predefinits. És inútil intentar definir un nou valor d’aquest tipus o intentar canviar el valor existent a aquest tipus.
[DOMName("SVG_PRESERVEASPECTRATIO_UNKNOWN")]
public const ushort SVG_PRESERVEASPECTRATIO_UNKNOWN = 0
Valor de camp
SVG_PRESERVEASPECTRATIO_XMAXYMAX
Correspon al valor ‘xMaxYMax’ per a l’atribute ‘reserveAspectRatio’.
[DOMName("SVG_PRESERVEASPECTRATIO_XMAXYMAX")]
public const ushort SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10
Valor de camp
SVG_PRESERVEASPECTRATIO_XMAXYMID
Correspon a valor ‘xMaxYMid’ per a l’atribute ‘reserveAspectRatio’.
[DOMName("SVG_PRESERVEASPECTRATIO_XMAXYMID")]
public const ushort SVG_PRESERVEASPECTRATIO_XMAXYMID = 7
Valor de camp
SVG_PRESERVEASPECTRATIO_XMAXYMIN
Correspon al valor ‘xMaxYMin’ per a l’atribute ‘reserveAspectRatio’.
[DOMName("SVG_PRESERVEASPECTRATIO_XMAXYMIN")]
public const ushort SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4
Valor de camp
SVG_PRESERVEASPECTRATIO_XMIDYMAX
Correspon al valor ‘xMidYMax’ per a l’atribució ‘reserveAspectRatio’.
[DOMName("SVG_PRESERVEASPECTRATIO_XMIDYMAX")]
public const ushort SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9
Valor de camp
SVG_PRESERVEASPECTRATIO_XMIDYMID
Correspon al valor ‘xMidYMid’ per a l’atribute ‘reserveAspectRatio’.
[DOMName("SVG_PRESERVEASPECTRATIO_XMIDYMID")]
public const ushort SVG_PRESERVEASPECTRATIO_XMIDYMID = 6
Valor de camp
SVG_PRESERVEASPECTRATIO_XMIDYMIN
Correspon al valor ‘xMidYMin’ per a l’atribució ‘reserveAspectRatio’.
[DOMName("SVG_PRESERVEASPECTRATIO_XMIDYMIN")]
public const ushort SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3
Valor de camp
SVG_PRESERVEASPECTRATIO_XMINYMAX
Correspon a valor ‘xMinYMax’ per a l’atribució ‘reserveAspectRatio’.
[DOMName("SVG_PRESERVEASPECTRATIO_XMINYMAX")]
public const ushort SVG_PRESERVEASPECTRATIO_XMINYMAX = 8
Valor de camp
SVG_PRESERVEASPECTRATIO_XMINYMID
Correspon a valor ‘XMinYMid’ per a l’atribució ‘reserveAspectRatio’.
[DOMName("SVG_PRESERVEASPECTRATIO_XMINYMID")]
public const ushort SVG_PRESERVEASPECTRATIO_XMINYMID = 5
Valor de camp
SVG_PRESERVEASPECTRATIO_XMINYMIN
Correspon al valor ‘xMinYMin’ per a l’atribució ‘reserveAspectRatio’.
[DOMName("SVG_PRESERVEASPECTRATIO_XMINYMIN")]
public const ushort SVG_PRESERVEASPECTRATIO_XMINYMIN = 2
Valor de camp
Properties
Align
El tipus del valor d’alineació tal com s’especifica per una de les constants SVG_PRESERVEASPECTRATIO_* es defineixen en aquesta interfície.
[DOMName("align")]
public ushort Align { get; set; }
Valor de la propietat
Exceptions
Codi Aspose.Html.DOMExcepció.NO_MODIFICATION_ALLOWED_ERR.Creació quan l’objecte correspon a un llegit només atribut o quan el mateix objecte només es llegeix.
MeetOrSlice
El tipus del valor de mesurament o d’escala tal com s’especifica per una de les constants SVG_MEETORSLICE_* es defineixen en aquesta interfície.
[DOMName("meetOrSlice")]
public ushort MeetOrSlice { get; set; }
Valor de la propietat
Exceptions
Codi Aspose.Html.DOMExcepció.NO_MODIFICATION_ALLOWED_ERR.Creació quan l’objecte correspon a un llegit només atribut o quan el mateix objecte només es llegeix.
Methods
ToString()
Retorna un System.String que representa aquesta instància.
public override string ToString()
Returns
Un sistema.String que representa aquesta instància.