[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgPreserveAspectRatio

SvgPreserveAspectRatio Struct

Indicates whether or not to force uniform scaling

Namespace: GrapeCity.Documents.Svg
Assembly: DS.Documents.Imaging.dll
Syntax
public struct SvgPreserveAspectRatio : IEquatable<SvgPreserveAspectRatio>
Public Structure SvgPreserveAspectRatio
    Implements IEquatable(Of SvgPreserveAspectRatio)

Constructors

Name Description
SvgPreserveAspectRatio(SvgAspectRatioAlign, SvgMeetOrSlice)

Initializes a new instance of the SvgPreserveAspectRatio struct.

Fields

Name Description
Default

Represents a default value of SvgPreserveAspectRatio.

None

Represents a SvgPreserveAspectRatio that does not force uniform scaling.

Properties

Name Description
Align

Gets or sets a value indicating whether to force uniform scaling and, if so, the alignment method to use.

MeetOrSlice

Gets or sets a value specifying the method of scaling the element's 'viewBox' within the SVG viewport.

Methods

Name Description
Equals(SvgPreserveAspectRatio)

Determines whether the specified SvgPreserveAspectRatio is equal to this instance.

Equals(object)

Determines whether the specified object is equal to this instance.

GetHashCode()

Returns a hash code for this struct.

ToString()

Returns a string that represents the current struct.