[]
        
(Showing Draft Content)

GrapeCity.Documents.Svg.SvgAspectRatioAlign

SvgAspectRatioAlign Enum

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

Namespace: GrapeCity.Documents.Svg
Assembly: DS.Documents.Imaging.dll
Syntax
public enum SvgAspectRatioAlign
Public Enum SvgAspectRatioAlign

Fields

Name Description
None

Do not force uniform scaling.

XMaxYMax

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

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

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

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

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

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

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

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

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.