[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgAspectRatioAlign

Enum SvgAspectRatioAlign

Namespace
GrapeCity.Documents.Svg
Assembly
GcDocs.Imaging.dll

Specifies whether to force uniform scaling and if so, the alignment method to use.

public enum SvgAspectRatioAlign

Fields

None = 0

Do not force uniform scaling.

XMaxYMax = 9

Align the MinX + Width of the element's 'viewBox' with the maximum X value of the SVG viewport. Align the MinY + Height of the element's 'viewBox' with the maximum Y value of the SVG viewport.

XMaxYMid = 6

Align the MinX + Width of the element's 'viewBox' with the maximum X value of the SVG viewport. Align the midpoint Y value of the element's 'viewBox' with the midpoint Y value of the SVG viewport.

XMaxYMin = 3

Align the MinX + Width of the element's 'viewBox' with the maximum X value of the SVG viewport. Align the MinY of the element's 'viewBox' with the smallest Y value of the SVG viewport.

XMidYMax = 8

Align the midpoint X value of the element's 'viewBox' with the midpoint X value of the SVG viewport. Align the MinY + Height of the element's 'viewBox' with the maximum Y value of the SVG viewport.

XMidYMid = 5

Align the midpoint X value of the element's 'viewBox' with the midpoint X value of the SVG viewport. Align the midpoint Y value of the element's 'viewBox' with the midpoint Y value of the SVG viewport.

XMidYMin = 2

Align the midpoint X value of the element's 'viewBox' with the midpoint X value of the SVG viewport. Align the MinY of the element's 'viewBox' with the smallest Y value of the SVG viewport.

XMinYMax = 7

Align the MinX of the element's 'viewBox' with the smallest X value of the SVG viewport. Align the MinY + Height of the element's 'viewBox' with the maximum Y value of the SVG viewport.

XMinYMid = 4

Align the MinX of the element's 'viewBox' with the smallest X value of the SVG viewport. Align the midpoint Y value of the element's 'viewBox' with the midpoint Y value of the SVG viewport.

XMinYMin = 1

Align the MinX of the element's 'viewBox' with the smallest X value of the SVG viewport. Align the MinY of the element's 'viewBox' with the smallest Y value of the SVG viewport.